![]() |
VOOZH | about |
The required attribute is used to make an input field mandatory before submitting a form. It helps ensure that users fill in important fields.
Syntax:
<input required> Example 1: Illustrates the use of required attribute in input Element.
Example 2: Illustrates the use of required attribute in input Element.