LABEL Attribute | label Property | Internet Development Index |
Sets or retrieves the label for the option group.
Syntax
HTML <OPTGROUP LABEL = sLabel... > Scripting OPTGROUP.label(v) [ = sLabel ]
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.
Standards Information
This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
OPTGROUP