Html 5 Form Novalidate Attribute Tag

The novalidate attribute is used to when form will submitted in the form or input field could not validate.In the novalidate attribute will work form and input types are text ,url,telephone,search,password,email,range,date pickers and color.

Syntax:

<form action="" novalidate="novalidate">
  <input type="" />
</form>

Example Code



<!DOCTYPE HTML>
<form action="" novalidate = "novalidate">
  <input type="username" name="uname" id="uname"/>
  <input type="submit" value="Submit" />
</form>

Out Put :

In the above example put novalidate attribute for the form.





Content