What is the DOM?
DefinitionThe Document Object Model (DOM) is a programming interface that represents an HTML or XML document as a tree of objects, letting scripts read and change a page's structure, content and styles.
Also known as Document Object Model
When a browser loads a web page, it parses the HTML into the DOM, a tree in which elements, attributes and text are nodes. JavaScript can then find nodes, change them, add or remove them and respond to events such as clicks and key presses, and the browser updates what's on screen to match.
The DOM is defined by the DOM Living Standard, maintained by the WHATWG alongside the HTML standard. Frameworks such as React build on it, and features such as Shadow DOM let components keep their internal structure separate from the rest of the page.
DOM resources
Topic: Web development
Cite this definition
- APA
What is the DOM? (2026, November 22). Glossary. https://glossary.io/dom/
- MLA
“What Is the DOM?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/dom/.
- Chicago
“What Is the DOM?” Glossary. Coywolf. November 22, 2026. https://glossary.io/dom/.
- HTML link
<a href="https://glossary.io/dom/">What is the DOM?</a>
Published