:checked The :checked CSS pseudo-class selector represents any radio (), checkbox () or option ( in a ) element that is checked or toggled to an on state. https://developer.mozilla.org/en-US/docs/Web/CSS/:checked