1.

Which of the following selects every element that has no children?(a) :empty(b) :enabled(c) :checked(d) :disabled

Answer» Correct option is (a) :empty

For explanation I would say: :empty selects every

element that has no children including text nodes, :checked selects every checked element, :disabled selects every disabled element, :enabled selects every enabled element.



Discussion

No Comment Found