Home » CSS » CSS Introduction » Question
  1. Which of the following selector is used to selects the element that is the root of the document?
    1. ::selection
    2. :only-of-type
    3. :target
    4. :root
    5. None of these
Correct Option: A

:root {background-color: blue;}
/* sets the background color to blue for the root element */



Your comments will be displayed only after manual approval.