Single Choice Easy

QWhat does the following bit of JavaScript mean?

#log>span

ID: #5123 Javascript DOM & Event Handling MCQ 168 views
Question Info
#5123Q ID
EasyDifficulty
Javascript DOM & Event Handling MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Span child after log declaration
  • B Specific span child of id greater than log
  • C Span child less than log
  • D Any span child of the element with id as log
Correct Answer

Explanation

The above code snippet means that it select any span element that is a child of an element with an id attribute of "log"

Share This Question

Challenge a friend or share with your study group.