English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

HTML Tag大全

HTML: <form> novalidate Attribute

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

 HTML <form> tag

Online Example

When submitting a form, do not validate the form data (input):

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Usage of the novalidate Attribute in HTML <form>-Basic Tutorial(oldtoolbag.com)</title>
</head>
<body>
<form action="action_page.php" novalidate>
E-mail: <input type="email" name="user_email">
<input type="submit">
</form>
<p>Attention, in Internet Explorer 9and earlier versions or Safari 10In earlier versions, the novalidate attribute of the form tag was not supported.</p>
</body>
</html>
Test See ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

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

Note:In Safari and Internet Explorer 9 and earlier versions do not support the novalidate attribute.

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.

HTML 4.01 difference with HTML5difference

The novalidate attribute is an HTML5 new attributes.

Differences between HTML and XHTML

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

Syntax

<form novalidate>

 HTML <form> tag