HTML and CSS Reference
In-Depth Information
Defines available options within a <select>
class , dir , disabled , id , label , lang , onClick ,
onDblClick , onKeyDown , onKeyPress , onKeyUp ,
onMouseDown , onMouseMove , onMouseOut ,
onMouseOver , onMouseUp , selected , style ,
title , value
End tag
</option> ; usually omitted in HTML
Used in
select_content The value attribute
Use the value attribute to set a value for each option the browser sends
to the server if the user selects that option. If the value attribute has not
been specified, the value of the option is set to the content of the <op-
tion> tag. As an example, consider these HTML options:
<option value=Dog>Dog
Search WWH ::

Custom Search