The <label> element

Contains a caption or label to indicate to the user what a form control means. This element makes the association between the label and the control explicit.

Full list of attributes

All the usual HTML global attributes are available

for
The ID of the form control element which this label is meant to apply to. If not given, then the first such element inside the <label> is assumed to be the right one.
form
The name of the form this label is part of.

Further information

The Web Design Academy Contact us

By form

By Phone

+44 (0)113 234 4611

By email

enquiries@thewebdesign.academy

By snail mail

Suite 3 15 South Parade Leeds LS1 5PQ United Kingdom