LABEL
<LABEL
CLASS=classname
FOR=ID
ID=value
STYLE=css1-properties
VOICEFILE=url>
Specifies a label for a control-like element, BUTTON or INPUT. The content between the start and end tags defines the label text. If the label is associated with a control, it is rendered according to the label rendering rules described in Labels.
LABEL attributes are used to associate a portion of text with an INPUT element. You can use the associated text along with cue-before and cue-after CSS properties to provide additional context to a caller.
Attributes
- CLASS= classname
- Specifies the class of the element being defined. This is used to associate a subclassed style sheet with the element.
- FOR= ID
- Specifies the ID for the control-like element with which the label is associated. If the ID does not exist, the label is not associated with any control and is rendered as an unknown element.
- ID= value
- An SGML ID used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID values must begin with a letter. The underscore ("_") can be used in the ID name. The ID should be unique throughout the document. If more than one object with the same ID exists in a document, a collection of those named items is created that can be referenced only by ordinal position.
- STYLE= css1-properties
- Specifies an inline style sheet for the element.
- VOICEFILE= url
- Specifies the voice file attached with this element.
Remarks
Labels cannot be nested.
Both the start and end tags are required.