ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
CSS
: Selectors
Which of the following selector selects an element if it’s the only child of its parent? , Which of the following selector selects an element if it’s the only child of its parent?
Which of the following selector selects an element if it’s the only child of its parent?
A.
:root
:root
B.
:nth-oftype(n)
:nth-oftype(n)
C.
:only-child
:only-child
D.
None of these
इनमें से कोई नहीं
Solution
C. :only-child
Explanation
Example: h1:only-child {color: blue;}
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Exam Quiz
Website development Company in Allahabad