1.

Which node type represents the root-node of the DOM tree?(a) Document(b) DocumentFragment(c) DocumentType(d) Entity

Answer» The correct choice is (a) Document

For explanation I would say: 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.


Discussion

No Comment Found

Related InterviewSolutions