Monday, July 6, 2015

What are the new attributes provided in HTML5 for ?



The new attributes provided in HTML5 for <form> are:
a.) autocomplete
– It specifies if a form or input field should have autocomplete as on or off.
– If autocomplete is on, the browser is able to fill the values based on the values filled by the user earlier.
– autocomplete works for following input types: text, search, url, tel, email, password, datepickers, range, and color.

b.) novalidate
- This is a boolean attribute.
- When present, it signifies that the form-data should not be validated when submitted.

No comments:

Post a Comment