Document Object Model (DOM)
DOM (short for Document Object Model) is a cross-platform and language-independent interface that treats an HTML or XML 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 (also known as event listeners) attached to them. Once an event is triggered, the event handlers get executed.
The principal standardization of the DOM was handled by the World Wide Web Consortium (W3C), which last developed a recommendation in 2004. WHATWG took over the development of the standard, publishing it as a living document. The W3C now publishes stable snapshots of the WHATWG standard.
In HTML DOM (Document Object Model), every element is a node:
Here are 3,217 public repositories matching this topic...
⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
-
Updated
Nov 7, 2025 - JavaScript
The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.
-
Updated
Feb 15, 2021 - JavaScript
DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:
-
Updated
Oct 21, 2025 - JavaScript
A declarative, HTML-based language that makes building web apps fun
-
Updated
Nov 7, 2025 - JavaScript
Build CRUD apps in fewer lines of code.
-
Updated
Aug 3, 2023 - JavaScript
🦉 Custom jest matchers to test the state of the DOM
-
Updated
Oct 14, 2025 - JavaScript
A step by step guide to learn JavaScript and programming. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
-
Updated
Aug 25, 2023 - JavaScript
An absurdly small jQuery alternative for modern browsers.
-
Updated
Mar 2, 2024 - JavaScript
SnapDOM is a next-generation DOM capture engine that transforms HTML into almost any format all powered by a flexible plugin system
-
Updated
Nov 9, 2025 - JavaScript
Slip.js — UI library for manipulating lists via swipe and drag gestures
-
Updated
Sep 23, 2021 - JavaScript
🎮 A virtual joystick for touch capable interfaces.
-
Updated
Oct 5, 2025 - JavaScript
🐤 The friendly full-stack language
-
Updated
Oct 28, 2025 - JavaScript
Headless Chromium-based web performance metrics collector and monitoring tool
-
Updated
Oct 14, 2025 - JavaScript
🥜 goober, a less than 1KB 🎉 css-in-js alternative with a familiar API
-
Updated
Oct 3, 2025 - JavaScript
Tiny (2 KB) turboboosted JavaScript library for creating user interfaces.
-
Updated
Mar 10, 2025 - JavaScript
Created by World Wide Web Consortium
Released October 1, 1998
- Followers
- 51 followers
- Repository
- whatwg/dom
- Website
- github.com/topics/dom
- Wikipedia
- Wikipedia