Home » CSS » CSS Colors » Question
  1. Which of the following Selector selects an element if it’s the only child of its parent with its type?
    1. ::selection
    2. :only-of-type
    3. :target
    4. @media
    5. None of these
Correct Option: B

:only-of-type



Your comments will be displayed only after manual approval.