Home / CSE MCQs / CSS MCQs :: Discussion

Discussion :: CSS MCQs

  1. Which of the following selector selects the element that is the first child of its parent that is of its type?
  2. A.
    :first-of-type
    B.
    :last-child
    C.
    ::first-line
    D.
    ::first-letter

    View Answer

    Workspace

    Answer : Option A

    Explanation :

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


Be The First To Comment