:required
Term side of the Card
Topic: Pseudo Classes
Unit title: :required
Categories: Pseudo-class
Explanation side of the Card
Explanation: The pseudo-class that selects form elements with the `required` attribute. It applies to fields that must be filled out before a form can be submitted, enabling specific styling to indicate the importance of these fields to the user.
Browser compatibility:
- The chrome browser supports this feature starting from version 10
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 4
- The safari browser supports this feature starting from version 5
Availability: