w3c icon + 2.0 3.0 3.2 4.0
Netscape icon 1.0 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
Mosaic icon 1.0 2.0      
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      

<option>

container
start tagrequired
end tagoptional
Sandia Reference
Link to Site Map

This element is subordinate to <select>. The <select> tag sets up an environment and <option> presents the various items to be selected.

class=
w3c icon + 2.0 3.0 3.2 4.0
Netscape icon 1.0 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
dir=
w3c icon + 2.0 3.0 3.2 4.0
"ltr"
"rtl"
disabled=
w3c icon + 2.0 3.0 3.2 4.0
"When set for a form control, this boolean attribute disables the control for user input." (W3C HTML 4.0)
id=
w3c icon + 2.0 3.0 3.2 4.0
Netscape icon 1.0 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
WebTV 0.9        
Warning: there are two possible meanings of this particular use of "id=". There is the normal use of "id=" and follow the link on the attribute name for more information on that use.

The second meaning is used exclusively by WebTV. It is the same as the "name=" attribute below so the explanation is shared. Their description is as follows:

"The name attribute can be used with client functions. However, client functions are not recommended for content developers. These functions are intended for use by WebTV Networks for developing basic WebTV functionality."
lang=
w3c icon + 2.0 3.0 3.2 4.0
Netscape icon 1.0 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
list of language codes
list of country codes
selected
w3c icon + 2.0 3.0 3.2 4.0
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
<form>
<select name="dogs" size="5">
<option value="shih_tsu" selected>Shih Tsu
<option value="poodle">Poodle
<option value="bichon_frise">Bichon Frise
<option value="maltese">Maltese
<option value="Lhasa_Apso">Lhasa Apso
<option value="Silkey Terrier">Silkey Terrier
<option value="Papillon">Papillon
</select>
</form>
The Shih Tsu breed should be highlighted.
style=
w3c icon + 2.0 3.0 3.2 4.0
Netscape icon 1.0 2.0 3.0 4.0  
MSIE icon 1.0 2.0 3.0 4.0  
tabindex=
w3c icon + 2.0 3.0 3.2 4.0
A looong time ago, before rats (read mouses) there was this thing called the "Tab Key". It was great, just a few taps with the left pinky and you were where you wanted to go. We have now "pregressed" back to the tab key.

The "tabindex=" attribute takes, as an argument, a number indicating the order of the "focus" of the browser. The objective is to allow the reader to tab around all of the important links on the page and select one with the "enter" key.

Goto the sitemap. There are 25 links on this page. If your browser supports "tabindex=", The Compendium Logo at the top centre of the page should be the first item highlighted when you hit the tag key. #2 is the Sandia Reference just above the logo.

title=
w3c icon + 2.0 3.0 3.2 4.0
value=
w3c icon + 2.0 3.0 3.2 4.0
MSIE icon 1.0 2.0 3.0 4.0  
Opera 1.0 2.1 3.0    
WebTV 0.9 1.2      
"This attribute specifies the value to be submitted for this choice if the choice is selected when the form is submitted. The value is paired with the name assigned to the SELECT element. If this attribute is not set, the submitted value defaults to the content of the OPTION element. " (W3C HTML 4.0)