DESCRIPTION
|
This element is used to define the menu items for
a SELECT menu.
|
ATTRIBUTE(S)
|
NAME |
DOMAIN |
DESCRIPTION |
|
|
|
SELECTED |
|
When this attribute is present, the option is selected
when the document is initially loaded. It is an error
for more than one option to be so selected for one
from many menus.
|
VALUE |
a valid value |
Specifies the property value to be used when submitting
the form's content. This is combined with the property
name as given by the name attribute of the parent
SELECT element.
|
|
NOTES
|
- End tag is not needed
- This element is coupled very tightly with the SELECT element
|
EXAMPLE(S)
|
-
<SELECT NAME="color">
<OPTION VALUE=a SELECTED>Red
<OPTION VALUE=b>Black
<OPTION VALUE=c>Green
</SELECT>
|
Recent comments