Single Choice Easy

QWhich node type represents the DOM tree's root node?

ID: #5197 Javascript DOM & Event Handling MCQ 138 views
Question Info
#5197Q ID
EasyDifficulty
Javascript DOM & Event Handling MCQTopic

Choose the Best Option

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

  • A Document
  • B DocumentFragment
  • C DocumentType
  • D Entity
Correct Answer

Explanation

Everything in an HTML document is classified as a different node.
The node type Document represents the DOM tree's root node, the entire document.

Share This Question

Challenge a friend or share with your study group.