SUBMIT is a TYPE attribute value to the INPUT element for FORMs. It
specifies a button that, when activated, submits the information entered
to a processing script.
Description:
This is a method of giving access/focus to an active HTML element using
a keyboard character. This is a common GUI paradigm also known
as a "keyboard shortcut" or "keyboard accelerator"
A single character is used as the value of this attribute. In addition,
a platform-dependent key is usually used in combination with the
ACCESSKEY character to access the functionality of the active field.
Values:
A single, case-insensitive alphanumeric character from a browser's
character set.
Disabled
2 | 3
| 3.2 | 4
| IE4B1 | M
| N
Required? No
Description:
This is a stand-alone attribute which indicates the element is
initially non-functional.
Values: NA
Height
2 | 3
| 3.2 | 4
| IE | M
| N4B2
Required? No
Description:
This attribute explicitly specifies the height of the submit button in pixels.
Values: Positive integers.
Name
2
| 3 | 3.2
| 4 | IE1
| M2A1 | N1
Required? No
Description:
This attribute contributes the 'name' portion of a name/value pair
for this field. It is added to the stream of submitted data used by the
form processing script.
Values: Alphanumeric characters.
onBlur
2
| 3 | 3.2
| 4 | IE4B1
| M | N
Required? No
Description:
A blur Event Handler executes Script code when a Text field in
a form loses focus.
Values: Script statements or an
external function call.
onChange
2
| 3 | 3.2
| 4 | IE
| M | N
Required? No
Description:
A change Event Handler executes Script code when a Text field loses
focus and its value has been modified. This Event Handler is used to
validate data after it is modified by a user.
Values: Script statements or an
external function call.
onClick
2
| 3 | 3.2
| 4 | IE3B1
| M | N2B3
Required? No
Description:
A click Event Handler executes Script code when an object on a form
is clicked.
Values: Script statements or an
external function call.
onFocus
2
| 3 | 3.2
| 4 | IE4B1
| M | N
Required? No
Description:
A focus Event Handler executes Script code when a Text field
receives input focus by tabbing with the keyboard or clicking
with the mouse. Selecting within a field results in a onSelect
event, not a onFocus event.
Values: Script statements or an
external function call.
onSelect
2
| 3 | 3.2
| 4 | IE
| M | N
Required? No
Description:
A select Event Handler executes Script code when a user selects
some of the text within a Text field.
Values: Script statements or an
external function call.
Tabindex
2 | 3
| 3.2 | 4
| IE4B1 | M
| N
Required? No
Description:
"Tabbing" is a method of giving access/focus to an active HTML
element using a standard keyboard sequence. All the active elements in a
document can be cycled through using this sequence (ex: Windows TAB key.)
The order of the active elements in this cycle is usually the order they
occur in the document, but the TABINDEX attribute allows a different order
to be established. The use of this attribute should create the following
tabbing order cycle if the browser supports the attribute:
Active elements using the TABINDEX attribute with positive integers are
navigated first. Low values are navigated first.
Active elements not specifying any TABINDEX attribute
Those elements carrying a DISABLED attribute or using negative TABINDEX
values do not participate in the tabbing cycle.
Values: Positive or negative integers.
Type
2
| 3 | 3.2
| 4 | IE1
| M2A1 | N1
Required? Yes*
Description: * This is the required TYPE attribute for
this INPUT mechanism. From the strict view, the TYPE attribute
is not required.
Values:SUBMIT
Value
2
| 3 | 3.2
| 4 | IE1
| M2A1 | N1
Required? No
Description:
This attribute contributes the 'value' portion of a name/value pair
for this field. It is added to the stream of submitted data used by the
form processing script. It is also used to indicate an alternate button
label to be used in place of the default [usually "Submit".]
Values: Alphanumeric characters.
Width
2 | 3
| 3.2 | 4
| IE | M
| N4B2
Required? No
Description:
This attribute explicitly specifies the width of the submit button in pixels.
Values: Positive integers.
Example
<form>
<inputTYPE="submit"
VALUE="Submit Information Now!">
</form>
Netscape does not appear to have advertised that it supports the
HEIGHT and WIDTH attributes for this element. A reader alerted me
to them when he discovered them by accident.
Note: If HEIGHT and/or WIDTH dimensions are
specified that are smaller than the default size required to
display a button, the default size will be used.