Selection List Option
 
End Tag: Optional
Support Key: 2 | 3 | 3.2 | IE1 | M2A1 | N1
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson [bloo@blooberry.com] =
Main Index | Top Of Tree | Tag Index | Tag History


What is it?
The OPTION tag is only allowed within the SELECT tag and indicates an individual choice or element in the Selection List. The end tag is not necessary, as it is implied by either the next OPTION tag or the end SELECT tag.
Attributes
SELECTED
2 | 3 | 3.2 | IE1 | M2A1 | N1
Required? No
Description:
This is an optional standalone attribute which indicates that this Option is initially selected.
Values: NA
Value
2 | 3 | 3.2 | IE1 | M2A1 | N1
Required? No
Description:
Indicates the value to be returned to the form processing script if the Option is chosen. The default VALUE if none is present is the content of the OPTION element.
Values: An alphanumeric string

Style Sheet Attributes
[More on Cascading Style Sheets]
Class
2 | 3 | 3.2 | IE3B1 | M | N4B2
Required? No
Description:
This represents an assigned semantic classification grouping(s) for the current tag.
Values:
Given as a comma separated list of alphanumeric characters. Class names may contain spaces (multiple consecutive spaces treated as a single space.)
ID
2 | 3 | 3.2 | IE3B1 | M | N4B2
Required? No
Description:
This assigns an alpha-numeric identifier that is unique to this tag instance. Style sheets may use this attribute to reference the current instance of this tag. Hyperlinks may also use this identifier to serve as a destination.
Values:
An alphanumeric string - initial character must be a letter followed by alphabetic characters, digits, "-" or "." characters. The allowable set of alpha-characters is restricted to the A-Z and a-z set.
Style
2 | 3 | 3.2 | IE3B1 | M | N4B3
Required? No
Description:
This attribute is a text string that provides rendering style information for the current tag.
Values:
Please see the description of inline styles for more information on how to use this attribute and its possible values.
Example
<form>
   <select NAME="list1" SIZE=3 MULTIPLE>
      <option VALUE="opt1">option1
      <option VALUE="opt2">option2
      <option SELECTED VALUE="opt3">option3
   </select>
</form>
Parent Model
<select>
Content Model
%Text%
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...