1.

What is the usage of a novalidate attribute for the form tag that is introduced in HTML5?

Answer»

Its value is a boolean type that indicates whether or not the data being submitted by the form will be validated beforehand. By making this false, FORMS can be submitted without VALIDATION which helps users to resume later also.

<form ACTION = "" method = "get" novalidate> NAME:<BR><input type="name" name="sname"><br> Doubt:<br><input type="number" name="doubt"><br> <input type="submit" value="Submit"></form>


Discussion

No Comment Found