![]() |
|
<option>
![]() |
![]() |
||||||||||||||||||||||||||||||||||||||||||
This element is subordinate to <select>. The <select> tag sets up an environment and <option> presents the various items to be selected.
class=
|
||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dir=
|
||||||||||||||||||||||||||||
| "ltr" | ||||||||||||||||||||||||||||
| "rtl" | ||||||||||||||||||||||||||||
disabled=
|
"When set for a form control, this boolean attribute disables the control for user input." (W3C HTML 4.0) | |||||||||||||||||||||||||||
id=
|
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
|
|||||||||||||||||||||||||||
lang=
|
list of language codes list of country codes |
|||||||||||||||||||||||||||
selected
|
|
|||||||||||||||||||||||||||
style=
|
||||||||||||||||||||||||||||
tabindex=
|
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=
|
||||||||||||||||||||||||||||
value=
|
"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) | |||||||||||||||||||||||||||