WeCodeAcademy
❮ valuerequired ❯

placeholder

A hint shown in an empty field.

Applies to: input, textarea

Syntax

<input placeholder="Name">

Example

Examplehtml
Open in editor »

← All of HTML Attributes