html tutorial - novalidate Attribute in HTML - html5 - html code - html form



  • The novalidate is a Boolean attribute.
  • It specifies the form data should not be validated when submitted.

Syntax for novalidate Attribute in HTML:

<form name= file content  novalidate></form>

Sample coding for novalidate Attribute in HTML:

<!DOCTYPE html>
<html>
    <body>
        <form action="novalidate.htm" novalidate>
            E-mail: <input type="email" name="user email">
            <input type="submit">
        </form>
        <p><strong>Note:</strong>The novalidate attribute of the form tag is 
        not supported in Internet Explorer 9 and earlier versions, or in Safari.
        </p>
    </body>
</html>

Code Explanation for novalidate Attribute in HTML:

novalidate Attribute Code Explanation

  1. Here the novalidate attribute is given within the form tag for the data which should not be validate and submitted.

Browser Support for novalidate Attribute in HTML:

Yes Yes Yes No Yes

Related Searches to novalidate attribute in html