form novalidate Attribute - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:form

Description

The novalidate attribute is a boolean attribute to set if the form-data (input) should not be validated when submitted.

In XHTML, the novalidate attribute must be defined as <form novalidate="novalidate">.

The following code shows how to Indicate that the form is not to be validated on submit:

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

<form action="/action_page.php" novalidate>
E-mail: <input type="email" name="user_email">
<input type="submit">
</form><!--from w  w w  . j a  v  a  2s.c  o  m-->

</body>
</html>

Related Tutorials