Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML input formnovalidate attribute

HTML formnovalidate attribute

HTML input Tag Reference HTML tag

Example

A form with two submit buttons (one validates, the other does not):

E-mail:


Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

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

**Note:** Safari or Internet Explorer 9 and earlier versions do not support the formnovalidate attribute of the tag.


Definition and Usage

The novalidate attribute is a boolean attribute.

The novalidate attribute specifies that when the form is submitted, the element is not validated.

The formnovalidate attribute overrides the

elements' novalidate attribute.

**Note:** The formnovalidate attribute can be used with type="submit".


Differences between HTML 4.01 and HTML5

The formnovalidate attribute is new in HTML5.


Syntax

**Note:** The formnovalidate attribute is a boolean attribute and can be set in the following ways:


HTML input Tag Reference HTML tag