:checked

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

Explanation: The pseudo-class that applies styles to elements like checkboxes or radio buttons when they are selected. It's used to create visual feedback, such as highlighting or changing the appearance of checked form controls.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 3.1
Availability: