INPUT
This tag identifies the input methods for forms, and must appear between the opening and closing FORM tags. For example:
<FORM ACTION="/cgi-bin/template/" METHOD=POST> <INPUT NAME="TEMPLATE" TYPE="TEXT" SIZE="10"> <INPUT TYPE="SUBMIT" VALUE="NORMAL"> </FORM>
INPUT Attributes:
ALIGN="LEFT, RIGHT or CENTER"
This attribute defines the alignment of a graphical 'submit' button. ALIGN="LEFT" will align the button flush to the left side of the document, ALIGN="RIGHT" will align the button flush to the right side of the document. The ALIGN="TOP" and ALIGN="BOTTOM" will align the buttons flush with the TOP and BOTTOM of the document.
ACCEPT=" ... "
This attribute defines the MIME format of acceptable data.
CHECKED
This attribute is used to set the default option of a radio button or checkbox to true, or 'checked'.
CLASS=" ... "
This attribute indicates the style 'class' applicable to the tag to which it has been assigned, the style 'class' being a function of a style sheet. For example, assume the style class 'relaxed' includes text with a font size of 8, and the style class 'active' includes text with a font size of 12. Using the CLASS="relaxed" attribute with a tag will cause the text within that tag to be displayed with a font size of 8. Using the CLASS="active" attribute with a tag will cause the text within that tag to be displayed with a font size of 12.
DATAFLD=" ... "
This attribute is used to select a column from previously existing tabular data.
DATASRC=" ... "
This attribute defines the location of tabular data to be bound.
DISABLED
This attribute will disable the instance of the input method used. Will disable a 'Submit' button, for example.
ID="n"
The ID attribute is used to assign a unique ID selector (identification) to the tag in which it is invoked. A style may be assigned to that ID, which will effect only that one instance of the attribute.
MAXLENGTH="n"
This attribute is used to specify the maximum number of characters that can be entered into a field, and is used with either the TEXT or PASSWORD input methods.
NAME=" ... "
This tag is used to mark a location within a document with a unique name. This named location can then be quickly moved to by means of a hyperlink using the HREF="#URL" attribute. Note the pound (#) sign before the URL. The pound sign used in this way indicates to the browser that the target location has been defined by the NAME=" ... " attribute.
NOTAB
This attribute removes the input item from the tabbing order.
READONLY
This attribute specifies that changes to the input method data will be disallowed.
SIZE="n"
This attribute defines the width of the input method, and is measured in characters. It is used with either the TEXT or PASSWORD input methods.
SRC="URL"
This attribute specifies the absolute or relative location (URL) of the image to be used for the submit button, and can only be invoked if the TYPE="IMAGE" statement is used.
STYLE=" ... "
Used to specify which style sheet commands to apply to the instance of the STYLE attribute invoked within the tag.
TABINDEX="n"
This attribute defines the 'tabbing order' of the document. For example, assume a document has ten fields, numbered one to ten, which require your input. The first field, with TABINDEX="1", is the active field. Pressing the tab key would move the cursor to TABINDEX="2", regardless of its physical location within the document.
TITLE=" ... "
The TITLE attribute is used to display a note or information in a popup window pertaining to the object to which it was assigned. The popup window is invoked by holding the mouse pointer over the object.
TYPE=" ... "
This attribute defines the type of button created. Valid TYPEs are: SUBMIT, RESET, BUTTON, TEXT, PASSWORD, RADIO, CHECKBOX, IMAGE, and HIDDEN.
USEMAP="URL"
This attribute defines the relative or absolute URL of the image to use with the form.
VALUE=" ... "
This attribute sets the default input method, and is required when the input TYPE is set to radio or checkbox.
This tag also accepts the following Event Handlers: onAfterUpdate
onBeforeUpdate
onBlur
onChange
onClick
onDblClick
onDragStart
onFocus
onHelp
onMouseDown
onMouseUp
onMouseOver
onMouseMove
onMouseOut
onKeyPress
onKeyDown
onKeyUp
onSelect
onSelectStart