Dynamicdeezign, documentation of html and css
The guide to create your Web site on Internet
 

<optgroup> : option group
The OPTGROUP element allows authors to group choices logically. This is particularly helpful when the user must choose from a long list of options; groups of related choices are easier to grasp and remember than a single long list of options. In HTML 4, all OPTGROUP elements must be specified directly within a SELECT element (i.e., groups may not be nested).
Attributes
-) name
This attribute assigns the control name.
-) size
If a SELECT element is presented as a scrolled list box, this attribute specifies the number of rows in the list that should be visible at the same time. Visual user agents are not required to present a SELECT element as a list box; they may use any other mechanism, such as a drop-down menu.
-) multiple
If set, this boolean attribute allows multiple selections. If not set, the SELECT element only permits single selections.
Attributes defined elsewhere
-) id, class (document-wide identifiers)
-) lang (language information), dir (text direction)
-) title (element title)
-) style (inline style information)
-) disabled (disabled input controls)
-) tabindex (tabbing navigation)
-) onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup (intrinsic events)

Example

<select name="names_sel">
    <optgroup label="names">
    <option>choose</option>
    <option>Joe</option>
    <option>Mark</option>
    <option>Venessa</option>
    </optgroup>
</select>


Gives








For complete reference see html reference at W3C
V0..1   V1..1   V2..1   V2..2   V2..3   V3..1   V4..1   V4..2   V5..1   V5..2   V5..3   V5..4   V5..5   V5..6  
V6..1   V6..2   V6..3   V6..4   V6..5   V6..6   V7..1   V8..1   V9..1   VA..1   VB..1   VB..2   VC..1   VC..2  
VC..3   VC..4   VC..5   VC..6   VC..7   VC..8   VC..9   VC..10   VC..11   VC..12   VC..13   VC..14   VC..15   VC..16  
VD..1   VE..1   VF..1   VG..1   VG..2   VH..1   VH..2   VI..1   VJ..1   VK..1   VL..1   VM..1   VM..2   VN..1