Which Of The Following Selector Selects An Element If Its The #237
Which of the following selector selects an element if it’s the only child of its parent?
This multiple choice question (MCQ) is related to the book/course gs gs105 CSS (Cascading Style Sheets). It can also be found in gs gs105 CSS Selectors and Files - Using Advanced Selectors - Quiz No.1.
Which of the following selector selects an element if it’s the only child of its parent?
:root
:nth-oftype(n)
:only-child
none of the mentioned