It forces a user to fill text on the text field or text area before submitting the form. It is used for form validation.
Example:
Name: <input type="text" name="name" required>
It forces a user to fill text on the text field or text area before submitting the form. It is used for form validation.
Example:
Name: <input type="text" name="name" required>