HTML and CSS Reference
In-Depth Information
Function Creates a label for a form element
accesskey , class , dir , for , id , lang , onBlur ,
onClick , onDblClick , onFocus , onKeyDown ,
onKeyPress , onKeyUp , onMouseDown , onMouseMove ,
onMouseOut , onMouseOver , onMouseUp , style ,
</label> ; never omitted
End tag
Used in
form_content Implicit and explicit associations
One or more labels get associated with a form control in one of two ways:
implicitly, by including the form control as contents of the label tag, or
explicitly, by naming the ID of the target form control in the <label> tag's
for attribute.
For example, in XHTML:
Search WWH ::

Custom Search