Which of the following Selector selects an element if it’s the only child of its parent with its type?
A. @media
B. :target
C. ::selection
D. :only-of-type
Answer: Option D
Related Questions on Basic CSS
A. Color Style Sheets
B. Cascade Sheets Style
C. Cascade Style Sheet
D. Cascading Style Sheets
In css what does “color:red” can be called as
A. Selector
B. Rule
C. Declaration
D. None of the above
Which of the following attributes is used to specify elements to bind style rules to?
A. id
B. class
C. tag
D. all of the mentioned
Join The Discussion