INPUT:
Attributes


ALIGN

Vertical alignment of the image - for use only with TYPE=IMAGE.


Value(s)


Default Value

#IMPLIED


CHECKED

When present indicates that a checkbox or radio button is selected.


Value(s)

CHECKED


Default Value

#IMPLIED


MAXLENGTH

The maximum number of characters that will be accepted as input. This can be greater that specified by SIZE , in which case the field will scroll appropriately. The default is unlimited.


Value(s)

NUMBER


Default Value

#IMPLIED


NAME

Symbolic name used when transferring the form's contents. This attribute is always needed and should uniquely identify this field.


Value(s)

CDATA


Default Value

#IMPLIED


SDAPREF

Attribute for easy transformation to the International Committee for Accessible Document Design (ICADD) DTD. ICADD applications are designed to support usable access to structured information by print-impaired individuals through Braille, large print and voice synthesis.


Value(s)

CDATA


Default Value

#FIXED = <?SDATrans Input: #AttList>


SIZE

Specifies the size or precision of the field according to its type.


Value(s)

CDATA


Default Value

#IMPLIED


SRC

A URL or URN specifying an image - for use only with TYPE=IMAGE.


Value(s)

CDATA


Default Value

#IMPLIED


TYPE

Defines the type of data the field accepts. Defaults to free text. Several types of fields can be defined with the type attribute:
CHECKBOX
Used for simple Boolean attributes, or for attributes that can take multiple values at the same time. The latter is represented by a number of checkbox fields each of which has the same NAME. Each selected checkbox generates a separate name/value pair in the submitted data, even if this results in duplicate names. The default VALUE for checkboxes is ON.
HIDDEN
No field is presented to the user, but the content of the field is sent with the submitted form. This value may be used to transmit state information about client/server interaction.
IMAGE
An image field upon which you can click with a pointing device, causing the form to be immediately submitted. The coordinates of the selected point are measured in pixel units from the upper left corner of the image, and are returned (along with the other contents of the form) in two name/value pairs. The x-coordinate is submitted under the name of the field with .x appended, and the y-coordinate is submitted under the name of the field with .y appended. Any VALUE attribute is ignored. The image itself is specified by the SRC attribute, exactly as for the IMG element.

NOTE: In a future version of the HTML standard, the IMAGE functionality may be folded into an enhanced SUBMIT field.

PASSWORD
Same as TEXT attribute, except that text is not displayed as it is entered.
RADIO
For attributes which can take a single value from a set of alternatives. Each radio button field in the group should be given the same NAME. Only the selected radio button in the group generates a name/value pair in the submitted data. Radio buttons require an explicit VALUE attribute.
RESET
This is a button that when pressed resets the form's fields to their specified initial values.
SUBMIT
This is a button that when pressed submits the form. You can use the VALUE attribute to provide a non-editable label to be displayed on the button. The default label is application-specific.

The NAME attribute is a name/value pair to the submitted data if it has a name and was the button that was pressed in order to submit the form.

TEXT
Single line text entry fields. Use in conjunction with the SIZE and MAXLENGTH attributes. Use the TEXTAREA element for text fields which can accept multiple lines.


Value(s)


Default Value

TEXT


VALUE

The initial value for the field, or the value when checked for checkboxes and radio buttons. This attribute is required for radio buttons.


Value(s)

CDATA


Default Value

#IMPLIED


Back to INPUT


HTML 2.0 DTD