Few attributes of _______________ tag can be used for validation purpose.
Answers
Answered by
2
The simplest HTML5 validation feature is the required attribute. To make an input mandatory, add this attribute to the element. When this attribute is set, the element matches the :required UI pseudo-class and the form won't submit, displaying an error message on submission when the input is empty.
Similar questions
Math,
25 days ago
English,
25 days ago
Social Sciences,
1 month ago
Math,
1 month ago
History,
9 months ago