Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App

Related Articles

When to use the novalidate attribute in HTML Form ?

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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

It can be used in situations where you want the user to save the progress of form filling or if the form validation is disabled, the user can easily save the form and continue & submit the form later.


<form novalidate>

Example: In this example, we will see the use of the HTML novalidate attribute.


<!DOCTYPE html>
<body style="text-align:center;">
    <h1 style="color:green;">
        When to use the novalidate
        attribute in the HTML Form?
    <form action="#" method="get" target="_self"
        <input type="text">
        <input type="submit" id="Geeks" name="myGeeks"
               value="Submit @ geeksforgeeks"


My Personal Notes arrow_drop_up
Last Updated : 01 Jun, 2023
Like Article
Save Article
Similar Reads
Related Tutorials