Option group  - <OPTGROUP>   -  </OPTGROUP>

Previous- OL - Ordered List  |  Next-OPTION - List option

Description
Creates a list of options. See SELECT and OPTION. The OPTGROUP tag is used to group together options within the select list.
Attributes
NameValuesDescription
classclassnameClass of the element which is used to associate the element with a style sheet.
dirltr|rtlThe direction in which text flows when surrounded by text which flows in different directions.
disabled
event_namescript_codeDefines script to run on event such as OnMouseOver
idstringA unique name to identify an element.
labelstring
langlanguage_typeThe ISO description for the language of the element.
stylestringSpecifies style information for the element.
titlestringTitle for element which is often displayed as a tool-tip when the cursor hovers over the element.

Example
<select name="mynumbers">
<optgroup>numbers
<option value=1>one
<option value=2>two
<option value=3>three
</optgroup>
<optgroup>colours
<option value=1>red
<option value=2>blue
<option value=3>green
</optgroup>
</select>
Will be displayed as :

Compatability
HTMLNETSCAPEINTERNET EXPLORER
4.1N2N3N4N6IE3IE4IE5IE6
YES NO YES YES YES YES YES YES YES

Previous- OL - Ordered List  |  Next-OPTION - List option