label attribute | label property
Sets or retrieves the label for the option group.
Syntax
| HTML | <element label="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
the label that is displayed in the select element for this optGroup.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
Remarks
label was introduced in Microsoft Internet Explorer 6
See also
Show: