← BYTES
HTML·Starter·Ref: 2.1.17
What does the `placeholder` attribute do on a text `<input>` element?
Have a question about this video? Mention reference 2.1.17 when you contact us.
a.It sets the field's permanent, submitted value
b.It validates the input against a specific pattern
c.It makes the field required before submission
d.It displays faint hint text inside the empty input box that disappears once the user starts typing
placeholder text is a short hint shown inside an empty field (commonly grayed out) to suggest the expected format or content -- critically, it is NOT a substitute for a real <label>, since it disappears on focus/typing and isn't reliably announced the same way by all screen readers.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES2117#HTML