Computer Science, asked by lifemealfa, 1 month ago

Few attributes of _______________ tag can be used for validation purpose.​

Answers

Answered by marvaminuva
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