An option. The option element defines an option within a select box.
<OPTION VALUE="something" SELECTED> ...
| Attribute | Value | Description |
|---|---|---|
VALUE |
TEXT |
Sets the returned value if this is a selected menu item. |
SELECTED |
NONE |
Sets this option as being selected in the select box. |
The navigation bar on this site uses a combination of select boxes and simple JavaScript to provide quick access to this site's pages.
<FORM ACTION="cgi/whoop.pl">
<SELECT NAME="menu">
<OPTION VALUE="Cows"> Cows
<OPTION VALUE="Horses" SELECTED> Horses
<OPTION VALUE="Pigs"> Pigs
</SELECT>
</FORM>