Attribute | Description | ||
---|---|---|---|
ACTION="action" | Specifies the action the browser have to take
on submit. Action may be: URI of a program on server that handles the form or mailto:E_mail_address. |
||
|
Specifies how the form input is sent to the server. |
Attribute | Description | ||
---|---|---|---|
NAME="name" | Specifies the name of the control. Attribute is required,
because data is sent as: name="value" The value is: entered text for text control; value of VALUE attribute for radio and checkbox controls. |
||
SIZE="number" | Specifies the size of text control. | ||
|
Specifies the type of the control. text - provides a single-line text input field; Used by default. checkbox - provides switch (square button) that can be turned on and off ; radio - provides switch (radio button) that can be turned on and off ; submit - defines a button for submitting the form; reset - defines a button for resetting the form to its initial values. |
||
VALUE="value" | The value depends on the form control. The VALUE attribute: specifies the initial value for the text field; provides the text of the button for reset and submit controls; gives the value of the control when it is checked for radio and checkbox controls. |
||
CHECKED | Specifies that the control is initially checked for radio and checkbox controls. |
Attribute | Description |
---|---|
NAME="name" | Specifies the name of the control. Attribute is required,
because data is sent as: name="value" The value is determined by VALUE attribute of the selected OPTION. |
SIZE="number" | Specifies the number of visible options. |
MULTIPLE | Allows multiple selections. |
Attribute | Description |
---|---|
SELECTED | Defines the OPTION to be initially selected. |
VALUE="value" | Specifies the value of the option, sent with the submitted form. In the absence of a VALUE attribute, the value is the content of the OPTION element. |
Attribute | Description |
---|---|
NAME="name" | Specifies the name of the control. Attribute is required,
because data is sent as: name="value" The value is entered text. |
COLS="number" | Specifies the number of visible columns. |
ROWS="number" | Specifies the number of visible rows. |