Тег LABEL
LABEL
<LABEL
ACCESSKEY=string
FOR=string
CLASS=string
ID=string
LANG=string
LANGUAGE=JAVASCRIPT
| JSCRIPT | VBS | VBSCRIPT
STYLE=string
TITLE=string
event = script
>
Specifies a label for a control-like element.
- ACCESSKEY=
- Specifies an accelerator for the element.
- FOR=
- The for attribute references the ID of another element. The for attribute is
optional when the label is implicitly defined. This is done by wrapping the
label around the control the label is specified for.
- CLASS=
- Specifies the class of the tag being defined. This is most often used to
associated a sub-classed style sheet with the tag.
- ID=
- An SGML identifier used as the target for hypertext links or for naming
particular elements in associated style sheets. Valid names to script with are
any alphanumeric string that begins with a letter. Valid special characters
include underbar "_".
- LANG=
- This specifies the language to use. The specifier is an ISO standard
language abbreviation.
- LANGUAGE=
- Specifies the language that the current script is written in. JavaScript is
the default for this attribute.
- STYLE=
- Specifies an in-line style sheet for the tag.
- TITLE=
- The Title attribute is used to provide advisory information.
- event
- Can be one or more of these events:
onclick ondblclick
onhelp onkeydown
onkeypress onmousedown
onmousemove onmouseout
onmouseover onmouseup
onselectstart
Labels cannot be nested.
Both the start and end tags are required.