LABEL Attribute | label

HTML (DHTML)

LABEL Attribute | label Property

Internet Development Index

Sets or retrieves the label for the option group.

Syntax

HTML<OPTGROUP LABEL = sLabel... >
ScriptingOPTGROUP.label(v) [ = sLabel ]

Possible Values

sLabelString 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 Non-Microsoft link.

Applies To

OPTGROUP