Examveda
Examveda

Which of the following selector selects the element that is the first child of its parent that is of its type?

A. :first-of-type

B. :last-child

C. ::first-line

D. ::first-letter

Answer: Option A

Solution(By Examveda Team)

Example: strong:first-of-type {font-size:bigger;}

This Question Belongs to CSS >> CSS Selectors And CSS Files

Join The Discussion

Related Questions on CSS Selectors and CSS Files