Name

optgroup

Synopsis

<optgroup>...</optgroup>

Defines a logical group of options elements. This could be used by browsers to display hierarchical cascading menus. An optgroup element cannot contain other optgroup elements (they cannot be nested).

Attributes

Core(id, class, style, title), Internationalization, Events

disabled=" disabled "

Indicates that the group of options is nonfunctional. It can be reactivated with a script.

label=" text "

Required. Specifies the label for the option group.

Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.