DOM : Document Object Model
Category: Programming13,870 views
DOM stands for Document Object Model.
What is the Full Form of DOM?
DOM Stands for “Document Object Model”.
What is DOM (Document Object Model)?
The Document Object Model (DOM) is a cross-platform and language-independent interface that treats an XML or HTML document as a tree structure wherein each node is an object representing a part of the document. The DOM represents a document with a logical tree. Each branch of the tree ends in a node, and each node contains objects. DOM methods allow programmatic access to the tree, with them one can change the structure, style or content of a document.
Nodes can have event handlers attached to them. Once an event is triggered, the event handlers get executed. The name "Document Object Model" was chosen because it is an "object model" is used in the traditional object-oriented design sense.
