HTML and CSS Reference
<label> . . . </label>
Used to attach information to controls. Each label element is associated with exactly one
form control. The label element may contain the form control, or it may use the for attribute
to identify the control by its id value.
Flow content, phrasing content, interactive content, form-associated element, palpable
Where phrasing content is expected
Phrasing content, but may not contain labelable elements unless it is the element's labeled
control and no descendent label elements.
HTML5 Global Attributes
Explicitly associates the label with the control by matching the value of the for attribute
with the value of the id attribute within the control element.