The placeholder Attribute
The placeholder Attribute
- Specifies a hint that describes the expected value of an input field (a sample value or a short description of the format).
- The hint is displayed in the input field before the user enters a value.
- Works with the following input types: text, search, url, tel, email, and password.