HTML novalidate Attribute

❮ HTML Attributes


<form novalidate action="action.html" method="get">
	<label for="fname">First name:</label>
	<input type="text" id="fname" name="fname"><br>
	<label for="lname">Last name:</label>
	<input type="text" id="lname" name="lname"><br>
	<input type="submit" value="Submit">


The novalidate is Boolean attribute determines whether or not form validation should be applied on the elements within.

By default, validation is enforced unless overridden by this attribute on the form level or a formnovalidate attribute on a form element.

Standard Syntax

HTML: <element novalidate>
XHTML: <element novalidate="novalidate">

Browser Support


Applies to:

The novalidate attribute can be used on the following element:

Element Attribute
<form> novalidate

Attribute Values

Value Description
novalidate This is a boolean attribute, the presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value.
❮ HTML Attributes