🖼️Field Label
Also known as Form Label, Input Label
The short text that says what a field wants, like Email.
Think of it like
It is like a name tag on a box. It tells you what goes inside.
Example
A form puts Phone above each box instead of inside it. People who look back still know what each box was for.
Why it matters
With no label in view, people forget what a box was for. This happens once they start to type.
Definition
Example code
html
<label for="phone">Phone number</label>
<input id="phone" type="tel">Try it
Second box
A label stays on screen. That is its whole job.
Type into both. One still says what it wanted, the other does not.
Common mistake
Key takeaways
- 1Says what is wanted. Short and plain.
- 2Always visible. Even while typing.
- 3Tied in code. Screen readers read it.