HTML <form> novalidateAttribute

HTML form 标签参考手册HTML <form> tag

Example

Do not validate form data (input) when the form is submitted:

<form action="demo_form.html" novalidate>
E-mail: <input type="email" name="user_email">
<input type="submit">
</form>

Try it Yourself »

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Internet Explorer 10, Firefox, Opera, and Chrome support the novalidate attribute.

Note:The novalidate attribute is not supported in Safari or in Internet Explorer 9 and earlier versions.


Definition and Usage

The novalidate attribute is a boolean attribute.

The novalidate attribute specifies that form data (input) should not be validated when the form is submitted.


Differences between HTML 4.01 and HTML5

The novalidate attribute is new in HTML5.


Differences between HTML and XHTML

In XHTML, attribute minimization is forbidden, and the novalidate attribute must be defined as <form novalidate="novalidate">.


Syntax

<form novalidate>


HTML form 标签参考手册HTML <form> tag Other Extensions