Skip to content

Glossary: HTML & CSS Basics

Placeholder

Also written: placeholder attribute

Gray hint text shown inside a form box and set with the `placeholder` attribute. It disappears as you type, so it can't replace a label.

Where the book teaches it

Related terms

Label