1.

What is the Document Object Model (DOM)?

Answer»

The Document OBJECT Model (DOM) is a cross-platform programming interface, used to REPRESENT HTML and XML DOCUMENTS in nodes and objects. It defines the logical structure of documents and how they are accessed. It enables developers to create, modify, and delete the document structure, style, and content. The DOM represents the webpage in a hierarchical structure in order for programmers and users to navigate it more easily. These documents are treated as a tree structure in which EVERY node is an object representing a specific part of the document. Each branch ends with a node, and every node contains objects. When a document is displayed in the browser, the HTML and CSS is converted into the DOM and COMBINED with the document’s content.



Discussion

No Comment Found