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:
- A document is a document node.
- All HTML elements are element nodes.
- All HTML attributes are attribute nodes.
- Text inserted into HTML elements are text nodes.
- Comments are comment nodes.
Here are 390 public repositories matching this topic...
The fast, flexible, and elegant library for parsing and manipulating HTML and XML.
-
Updated
May 10, 2024 - TypeScript
Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉
-
Updated
May 8, 2024 - TypeScript
✂️ Generates an image from a DOM node using HTML5 canvas and SVG.
-
Updated
Apr 17, 2024 - TypeScript
The fast & forgiving HTML and XML parser
-
Updated
May 10, 2024 - TypeScript
A simple and fast API to monitor elements as you scroll
-
Updated
Jul 17, 2023 - TypeScript
A JavaScript implementation of a web browser without its graphical user interface
-
Updated
May 10, 2024 - TypeScript
🐕 Simulate user events
-
Updated
Apr 18, 2024 - TypeScript
📝 HTML to React parser.
-
Updated
May 10, 2024 - TypeScript
watching-you is a javascript library for building animations that watch anything on DOM 👀.
-
Updated
Apr 11, 2024 - TypeScript
🏹 Draw arrows between React elements 🖋
-
Updated
May 7, 2024 - TypeScript
Colorful shadows for your images. 🎨
-
Updated
Dec 10, 2023 - TypeScript
ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library
-
Updated
May 1, 2024 - TypeScript
🎨 A React component that injects SVG into the DOM.
-
Updated
May 11, 2024 - TypeScript
Pure and simple virtual DOM library
-
Updated
Apr 22, 2024 - TypeScript
🙋♀️ 3kb library for tiny web apps
-
Updated
May 19, 2023 - TypeScript
Tool for generating dom related TypeScript and JavaScript library files
-
Updated
May 10, 2024 - TypeScript
a CSS selector compiler & engine
-
Updated
May 9, 2024 - TypeScript
JavaScript object that creates unique CSS selector for given element.
-
Updated
May 9, 2024 - TypeScript
Parallax tilt hover effect for React JS 🪄
-
Updated
Oct 15, 2023 - TypeScript
Created by World Wide Web Consortium
Released October 1, 1998
- Followers
- 40 followers
- Repository
- whatwg/dom
- Website
- dom.spec.whatwg.org
- Wikipedia
- Wikipedia