all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

label attribute | label property

Sets or retrieves the label for the option group.

Syntax

HTML<element label="p" ... >
JavaScript

p = object.label

 

Property values

Type: String

the label that is displayed in the select element for this optGroup.

Standards information

Remarks

label was introduced in Microsoft Internet Explorer 6

See also

optGroup

 

 

Show:
© 2014 Microsoft