JavaScript DOM. JavaScript and HTML DOM Reference. Document Object Model (DOM) The Document Object Model (DOM) is a programming interface for HTML, XML and SVG documents.
It provides a structured representation of the document as a tree. The DOM defines methods that allow access to the tree, so that they can change the document structure, style and content. The DOM provides a representation of the document as a structured group of nodes and objects, possessing various properties and methods.