Open In App

HTML novalidate Attribute

Last Updated : 29 Aug, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

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

Syntax: 
 

<form novalidate>

Example: This Example illustrates the use of novalidate attribute in form Element. 

html
<!DOCTYPE html>
<html>

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

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

    <h2> 
        HTML | 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 novalidate attribute are listed below: 


Next Article

Similar Reads