Home » CSS » Css miscellaneous » Question
  1. Which of the following selects every <p> element that has no children?
    1. :checked
    2. :disabled
    3. :empty
    4. :enabled
    5. None of these
Correct Option: C

:empty selects every <p> element that has no children including text nodes, :checked selects every checked <input> element, :disabled selects every disabled <input> element, :enabled selects every enabled <input> element.



Your comments will be displayed only after manual approval.