1.

Explain DOM (Document Object Model)?

Answer»

DOM stands for Document Object Model. It is basically a cross-platform, language-independent API (Application Programming Interface) for XML (Extensible Markup Language) and HTML documents. To put it simply, DOM describes the LOGICAL structure of documents and how one can ACCESS and manipulate them. For example, here is an HTML document that illustrates the DOM hierarchy.

These documents are usually treated as a tree structure in which every node is an object that represents a specific part of the document. In a tree, each branch ends with a node, and each node contains objects. The DOM represents the webpage in a hierarchical structure in order for programmers and USERS to navigate it more easily. 



Discussion

No Comment Found