Name
LABEL — NN n/a IE n/a HTML 4
Synopsis
LABEL=”labelText"
Required
The LABEL
attribute is included in HTML 4.0 in
anticipation of possible hierarchical select lists. The
LABEL
is intended to be a shorter alternate entry
for an OPTION
element when it is rendered
hierarchically. It overrides the normal text associated with the
OPTION
element.
Example
<OPTION LABEL="Meteo 101" VALUE="met101"> Meteorology 101
Value
Any string of characters. The string must be inside a matching pair of (single or double) quotation marks.
Default
None.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.