kb/data/developer.mozilla.org/en-US/docs/Glossary/DOM-0.md

10 KiB

title chunk source category tags date_saved instance
DOM (Document Object Model) - Glossary | MDN 1/3 https://developer.mozilla.org/en-US/docs/Glossary/DOM reference web, html, css, javascript, documentation 2026-05-05T05:29:00.036009+00:00 kb-cron

MDN HTML HTML: Markup language

HTML reference

HTML guides

Markup languages

CSS CSS: Styling language

CSS reference

CSS guides

Layout cookbook

JavaScriptJS JavaScript: Scripting language

JS reference

JS guides

Web APIs Web APIs: Programming interfaces

Web API reference

Web API guides

All All web technology

Technologies

Topics

Learn Learn web development

Frontend developer course

Learn HTML

Learn CSS

Learn JavaScript

Tools Discover our tools

About Get to know MDN better

Blog

  1. Glossary
  2. DOM (Document Object Model)

DOM (Document Object Model)

The DOM (Document Object Model) is an API that represents and interacts with any HTML or XML-based markup language document. The DOM is a document model loaded in the browser and representing the document as a node tree, or DOM tree , where each node represents part of the document (e.g., an element, text string, or comment). The DOM is one of the most-used APIs on the Web because it allows code running in a browser to access and interact with every node in the document. Nodes can be created, moved, and changed. Event listeners can be added to nodes and triggered on the occurrence of a given event.

In this article

See also