Vidyalelo
CSS · Q9

CSS Selectors and CSS Files

Programming · CSS · question 9

Q9

Which of the following selector selects the elements that are checked?

A.
E ~ F
B.
::after
C.
:checked
Answer
D.
none of the mentioned

Answer: Option C

Solution

Answer: Option C
Solution:
Example: :checked {color: blue;}