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

Which node type represents the root-node of the DOM tree?
A. Document
B. DocumentFragment
C. DocumentType
D. Entity
 
Answer: a
Explanation: Everything inside an html document is classified in the form of different nodes. The node type Document represents the root-node of the DOM tree, the entire document.
 

Tìm kiếm

Back
Top