Answer: Novalidate attribute is used in Form tag definition and is used to send the information which will not validate any form field whether they are right or wrong.In short,we can say that,NoValidate attribute specifies that the form data should not be validated and then processed.
For Example:-
<form action = "info.aspx" novalidate>
<input type ="email" name = "email" autocomplete = "off">
<input type = "submit" name = "submit" value = "Submit">
</form>
In the above code,if we will give wrong or incorrect email,and click on Submit button,then it will not validate Email and process.
Asked In: Many Interviews |
Alert Moderator