Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML option label attribute

HTML

HTML option Tag Reference HTML

Example

in

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the label attribute except Firefox.

**Note:** Internet Explorer 7 and earlier versions do not support the


Definition and Usage

The label attribute specifies a shorter version of the option.

The specified shorter version is displayed in the drop-down list.


Differences between HTML 4.01 and HTML5

none.


Syntax