HTML novalidate Attribute

HTML novalidate Attribute: The HTML novalidate attribute is defined as a Boolean attribute. It specifies that the form-data should not validate when submitted.

HTML novalidate Attribute

The HTML novalidate attribute applies to the <form> element.

Syntax: <form novalidate>

Browser Support

The novalidate is supported by the following browsers:

  • Chrome-10.0
  • Internet Explorer-10.0
  • Safari-does not support
  • Opera-10.6
  • Firefox-4.0

 Example: for <form> element

<!DOCTYPE html> 
<html> 

<head> 
  <title> 
    HTML | novalidate Attribute 
  </title> 
</head> 

<body style="text-align:center;"> 
  <h1> 
    Freshersnow 
  </h1> 

  <h2> 
    HTML | novalidate Attribute 
  </h2> 

  <form action="#"
    method="get"
    target="_self"> 
    Name: 
    <input type="text"> 
    <input type="submit"
      id="Freshers"
      name="Freshersnow"
      value="Submit @ Freshersnow"
      formTarget="_blank"
      Formnovalidate> 
  </form> 

</body> 

</html> 

Output:

HTML novalidate attribute