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 481 public repositories matching this topic...
The fast, flexible, and elegant library for parsing and manipulating HTML and XML.
-
Updated
Nov 10, 2025 - TypeScript
✂️ Generates an image from a DOM node using HTML5 canvas and SVG.
-
Updated
Jun 24, 2025 - TypeScript
Tool for generating dom related TypeScript and JavaScript library files
-
Updated
Nov 8, 2025 - TypeScript
Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉
-
Updated
Sep 9, 2025 - TypeScript
The fast & forgiving HTML and XML parser
-
Updated
Nov 8, 2025 - TypeScript
A JavaScript implementation of a web browser without its graphical user interface
-
Updated
Oct 30, 2025 - TypeScript
🐕 Simulate user events
-
Updated
Aug 25, 2025 - TypeScript
A simple and fast API to monitor elements as you scroll
-
Updated
Jul 17, 2023 - TypeScript
ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library
-
Updated
Nov 1, 2025 - TypeScript
📝 HTML to React parser.
-
Updated
Nov 10, 2025 - TypeScript
JavaScript object that creates unique CSS selector for given element.
-
Updated
Oct 28, 2025 - TypeScript
🎨 A React component that injects SVG into the DOM.
-
Updated
Nov 10, 2025 - TypeScript
📸 Quickly generate image from DOM node using HTML5 canvas and SVG.
-
Updated
Aug 19, 2025 - TypeScript
🏹 Draw arrows between React elements 🖋
-
Updated
Jan 21, 2025 - TypeScript
a CSS selector compiler & engine
-
Updated
Nov 8, 2025 - TypeScript
Handler for htmlparser2, to get a DOM
-
Updated
Nov 8, 2025 - TypeScript
Synced scroll position across multiple scrollable elements
-
Updated
May 20, 2025 - TypeScript
Pure and simple virtual DOM library
-
Updated
Jul 18, 2025 - TypeScript
watching-you is a javascript library for building animations that watch anything on DOM 👀.
-
Updated
Oct 28, 2025 - TypeScript
Created by World Wide Web Consortium
Released October 1, 1998
- Followers
- 51 followers
- Repository
- whatwg/dom
- Website
- github.com/topics/dom
- Wikipedia
- Wikipedia