?
Which of the following selector selects an element if it’s the only child of its parent?
Answer & Solution
Correct Answer:
Option
C
Example: h1:only-child {color: blue;}
Join the Discussion
Login to post a comment or share your explanation.
Login