?
Which of the following selector is used to selects the element that is the first child of its parent that is of its type?
Answer & Solution
Correct Answer:
Option
D
strong:first-of-type {font-size: bigger;}
/* sets the font size bigger on the first strong tag of its parent */
/* sets the font size bigger on the first strong tag of its parent */
Join the Discussion
Login to post a comment or share your explanation.
Login