Question discussion

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

296272Medium 1 reply 837 views
38
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
Correct answer: A

Discussion 1

0
CCommunity
:first-of-type

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