Horje
HTML The Novalidate Attribute for HTML form and How to create it

The novalidate attribute is a boolean attribute.

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

The novalidate attribute indicates that the form input is not to be validated on submit:


Example Code to Know The Novalidate Attribute for HTML form

<form action="/action_page.php" novalidate>

Full Example of The Novalidate Attribute for HTML form

A form with a novalidate attribute:
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>The form novalidate attribute</h1>

<p>The novalidate attribute indicates that the form input is not to be validated on submit:</p>

<form action="/action_page.php" novalidate>
  <label for="email">Enter your email:</label>
  <input type="email" id="email" name="email"><br><br>
  <input type="submit">
</form>

</body>
</html>

Output should be:

Full Example of The Novalidate Attribute for HTML form





Category:
Web Tutorial
Sub Category:
HTML Form Attributes
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference