Skip to content

Glossary: HTML & CSS Basics

Label

Also written: label element, for attribute

The text that names a form control. It is linked to the control by a `for` attribute matching the control's `id`, so screen readers announce it and clicking it selects the box.

Where the book teaches it

Related terms

ControlidPlaceholder