Skip to content
Related Articles

Related Articles

Improve Article

HTML | <form> novalidate Attribute

  • Last Updated : 27 Aug, 2019

The HTML <form> novalidate Attribute is used to specify that the form-data should not be validated when submitting the form. It is a Boolean attribute.

Syntax:

 <form novalidate> 

Example-1: This Example illustrates the use of novalidate Attribute in the form Element.




<!DOCTYPE html>
<html>
  
<head>
    <title>
        HTML <form> novalidate Attribute
    </title>
</head>
  
<body style="text-align:center;">
    <h1
        GeeksForGeeks 
    </h1>
  
    <h2
        HTML <form> novalidate Attribute
    </h2>
  
    <form action="#"
          method="get"
          target="_self"
          novalidate>
        Name:
        <input type="text">
        <input type="submit" 
               id="Geeks" 
               name="myGeeks"
               value="Submit @ geeksforgeeks" 
               formTarget="_blank">
    </form>
  
</body>
  
</html>

Output:

Supported Browsers: The browser supported by HTML Form novalidate attribute are listed below:

  • Google Chrome 10.0
  • Internet Explorer 10.0
  • Firefox 4.0
  • Opera 10.6

Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML  course.




My Personal Notes arrow_drop_up
Recommended Articles
Page :