HTML novalidate Attribute

❮ HTML Attributes

Example

<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">
</form>

Meaning

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




Status




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