Latest web development tutorials
 

HTML <form> novalidate Attribute

< HTML <form> tag

Example

Indicate that the form is not to be validated on submit:

<form action="demo_form.asp" novalidate>
  E-mail: <input type="email" name="user_email">
  <input type="submit">
</form>
Try it Yourself »

Definition and Usage

The novalidate attribute is a boolean attribute.

When present, it specifies that the form-data (input) should not be validated when submitted.


Browser Support

The numbers in the table specify the first browser version that fully supports the attribute.

Attribute
novalidate 10.0 10.0 4.0 Not supported 10.6

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> tag