HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

optgroup

Description

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

Syntax

HTML

<optgroup attribute-name="attribute-value"></optgroup>

Attributes

Global

NameValueDescription
disableddisabled | emptySpecifies that the element represents a disabled control
labelstringSpecifies the label of the element

Examples

1 · disabled

2 · label