HTML5 & CSS3 : placeholder and required attributes




Placeholder:

The placeholder attribute specifies a short hint that describes the expected value of an input field (e.g. a sample value or a short description of the expected format).
The hint is displayed in the input field when it is empty, and disappears when the field gets focus.
Note: The placeholder attribute works with the following input types: text, search, url, tel, email, and password.















0 commentaires:

Post a Comment