HTML / HTML Attributes

HTML Placeholder Attribute

Oct 12, 2022
1 min read
HTML placeholder Attribute


The placeholder Attribute specifies an expected value or default text that will display inside a <input> or <textarea> element. When a user starts typing, the placeholder will disappear.

Applicable Elements

The placeholder Attribute can be used with the following elements:

Further information is coming soon. In the meantime, please read our commentary under the above links.