Q41
Which of the following selector is used to selects the element that is the root of the document?
A.
:only-of-type
B.
:target
C.
:root
D.
::selection
AnswerAnswer: Option D
Solution
Answer: Option D
Solution:
:root {background-color: blue;}/* sets the background color to blue for the root element */