:default

Term side of the Card
Topic: Pseudo Classes
Unit title: :default
Categories: Pseudo-class
Explanation side of the Card

Explanation: The pseudo-class that targets form elements that are the default option, such as the default radio button or checkbox. It's used to style the default choice in a form, making it stand out or fit the overall design.

Browser compatibility:
  • The chrome browser supports this feature starting from version 10
  • The edge browser supports this feature starting from version 79
  • The firefox browser supports this feature starting from version 4
  • The safari browser supports this feature starting from version 5
Availability: