Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

html
css
communitycreator

What is the HTML novalidate attribute?

Behzad Ahmad

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Overview

The novalidate attribute in HTMLHyperText Markup Language is used to define that the form should not be validated when it is submitted. It is a Boolean attribute.

Note: The novalidate attribute is used with the <form> element.

Syntax


<form novalidate>

Example

The HTML code provided below demonstrates how to use the novalidate attribute:

Explanation

We make a form that takes an email address. When we press the “Submit” button, the form is submitted, but the data is not validated because we’ve used the novalidate attribute.

RELATED TAGS

html
css
communitycreator

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring