 |
|
| OPTION - option in a select list |
|
| Description |
|
The OPTION tag specifies an option in a selection list. Use the OPTION tag inside a SELECTION
tag. When the form containing the selection list is submitted to the server, a name/value pair is sent
for each selected option in the list. The value portion of an option is the value of the VALUE attribute,
if it has one, otherwise, it is the text that follows the <OPTION> tag. This tag would be used within the <FORM> tags. |
|
| Syntax |
|
<OPTION VALUE="optionValue" SELECTED> |
|
| Attributes |
|
VALUE specifies a value that is returned to the server when the option is selected and the form is
submitted. When no VALUE attribute is present, the value returned is the same as the
text following the <OPTION> tag. |
SELECTED specifies that the option is selected by default. |
|
|