September 2001
Intermediate to advanced
640 pages
31h 42m
English
<option> — NN 2, 3, 4, 6 MSIE 2,3, 4, 5.5, 6 HTML 4.01 WebTV Opera5
<option> ... </option> (end tag optional)
Defines an option within a select element (a multiple-choice menu or
scrolling list). The end tag, although it exists, is usually omitted.
The content of the <option> element is the
value that is sent to the form processing application (unless an
alternative value is specified using the value
attribute).
label
Allows the author to provide a shorter label than the content of the option. This attribute is poorly supported.
selected
Makes this item selected when the form is initially displayed.
value=
text
Defines a value to assign to the option item within the select
control, to use in place of <option>
contents.
Read now
Unlock full access