Home / Report Question

Q. Which of the following selector is used to selects the element that is the first child of its parent that is of its type?
  • A. :last-of-type
  • B. :first-of-type
  • C. ::first-line
  • D. :nth-child(n)

Correct Answer: B