accesskey="char" |
|
Sets the access key to the character. This allows key
sequences to be pressed by a user to proceed directly to certain
fields. On Windows, keys are proceeded by ALT and on Macintosh by CMD. |
alt="text" |
|
Defines text to be displayed (a) while image is
loading, and (b) if image cannot be loaded. |
checked |
|
For radio or checkbox, indicates which field is set to
on by default. |
disabled |
|
Disables input for the field. |
maxlength="value" |
|
Maximum length of the input. |
name="name" |
|
The name of the field. Valid names are typically
defined by the routine specified in the ACTION attribute of <FORM>. |
onblur=JavaScript |
|
Javascript routine to be executed if the field losses
the focus (is the field receiving input at the current time). |
onchange=JavaScript |
|
Javascript routine to be executed if the field
changes. |
onfocus=JavaScript |
|
Javascript routine to be executed if the field gets
the focus (is the field receiving input at the current time). |
onselect=JavaScript |
|
Javascript routine to be executed if some text or
element is selected. Very useful for <TEXTAREA>. |
readonly |
|
Indicates the field may not be modified by the user. |
size="value" |
|
Indicates the size of the field. For text and password
this is characters, otherwise it is pixels. |
src="url" |
|
For the type "image", this specifies the name of the
graphics image to be used on the submit button. |
tabindex="n" |
|
Specifies the tabbing sequence of the field. Used to
indicate how the tab will move between fields. |
type="widget" |
|
The type of input that is designed. Widget can have
one of the following values:
TEXT |
Get some text. |
PASSWORD |
Get some text, but echo asterisks. |
CHECKBOX |
Display a checkbox, and return true or false. |
RADIO |
Display a radio button |
SUBMIT |
For the submission buttom |
RESET |
Reset all fields on the form to default values |
FILE |
Get a file specification. |
HIDDEN |
Get a text field, but do not prompt user. Field
does not show on screen. Used to pass information to form routine. |
IMAGE |
|
BUTTON |
Display a button. |
|
value="value" |
|
Indicates the initial value of the field. This is
optional except when TYPE is "radio" or "checkbox". |