Sets or retrieves the label for the option group.
Syntax
HTML | <OPTGROUP LABEL
= sLabel... >
|
---|
Scripting | [ sLabel = ] OPTGROUP.label [ = v ] |
---|
Possible Values
sLabel | String that
specifies or receives the label that is displayed in the select element for this optGroup. |
The property is read/write.
The property has no default value.
Remarks
label was introduced in Microsoft Internet Explorer 6
Standards Information
This property is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To