HTML 5: The Markup Language (ARIA Edition)

labelcaption for a form control # T

The label element represents a caption for a form control.

Content model #

Attribute model #

Element-specific attributes #

for = idref
Identifies a form control for which the label is a caption.

Assertions #

Tag omission #

A label element must have both a start tag and an end tag.

Permitted contexts #

Typical default display properties #

label {
cursor: default; }