Document Object Model (DOM)

What is Document Object Model (DOM)? Document Object Model (DOM) is a programming interface for HTML, XML and SVG documents. The Document Object Model (DOM) creates a hierarchy corresponding to the structure of each web document. This hierarchy is made up of nodes. There are several different types of DOM nodes, the most important are 'Element', 'Text' and 'Document'.

The HTML DOM model is constructed as a tree of Objects.

HTML DOM Tree of Objects

shanidkv's picture