Vidyalelo
JavaScript · Q126

Document Object Model And Event Handling

Programming · JavaScript · question 126

Q126

Which node type represents the root-node of the DOM tree?

A.
Document
Answer
B.
DocumentFragment
C.
DocumentType
D.
Entity

Answer: Option A

Solution

Answer: Option A
Solution:
The node type Document represents the root-node of the DOM tree, the entire document.