optgroup

The optgroup element represents a group of option elements with a common label.

Attributes

<optgroup attribute-name="attribute-value"></optgroup>
Name Value Description
disabled disabled | empty Specifies that the element represents a disabled control
label string Specifies the label of the element

Global

Example | disabled

Example | label

External

W3C HTML 4.01 Specification

W3C HTML5

W3C HTML 5.1