Labels
`label` names a form control — clicking it focuses the control, and screen readers announce it.
Beginner
<label for="email">Email</label> <input id="email" type="email">. Placeholder text is not a substitute for a label.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.