Help Center

Local Navigation

HTML element: <optgroup>

Availability

BlackBerry® Device Software 3.7 or later

The <optgroup> element defines a logical group in a drop-down list of elements.

Attributes

Attribute

Value(s)

Description

Availability

disabled

When specified, this attribute initially disables the option group.

4.6 or later

label

text

Required. This attribute provides a label for the option group.

4.6 or later

Common attributes

The <optgroup> element supports the class, dir, id, lang, style, and title attributes.

For more information, see Common attributes.

Event attributes

The <optgroup> element supports the onclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, and onmouseup events.

For more information, see HTML event attributes.

Index


Was this information helpful? Send us your comments.