HTML Element: <optgroup>
[this page | pdf | back links]
The HTML <optgroup> element indicates a group
of related options in a drop-down list.
The
attributes it
can take (other than HTML global
attributes and HTML
event attributes) include:
|
Attribute
|
Description
|
More
|
|
disabled
|
Specified element(s) (here
the option-group) to be disabled
|
Here
|
|
label
|
Title of option group
|
Here
|
To create or access such an
element in JavaScript
see here. The
corresponding HTML DOM
object supports standard
DOM properties and methods, and additional properties with the same name and
meaning as the attributes of the underlying HTML element referred to above). The
default style applicable to this element is shown here.
NAVIGATION LINKS
Contents | Prev | Next | HTML Elements