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 5,783 public repositories matching this topic...
Test suites for Web platform specs — including WHATWG, W3C, and others
-
Updated
Oct 31, 2024 - HTML
An HTML5 parser and serializer for PHP.
-
Updated
Oct 31, 2024 - HTML
JavaScript object that creates unique CSS selector for given element.
-
Updated
Oct 31, 2024 - TypeScript
A small, simple, and fast DOM creation utility
-
Updated
Oct 31, 2024 - JavaScript
A declarative, HTML-based language that makes building web apps fun
-
Updated
Oct 31, 2024 - JavaScript
🦉 Custom jest matchers to test the state of the DOM
-
Updated
Oct 31, 2024 - JavaScript
Full Blazor WebAssembly and Javascript interop. Supports all Javascript data types and web browser APIs.
-
Updated
Oct 31, 2024 - C#
A fast, secure, modern, light-weight, and simple JS library for creating web components and more!
-
Updated
Oct 31, 2024 - JavaScript
DOM Implementation for UIX, running in the browser and in deno, supports DATEX bindings
-
Updated
Oct 31, 2024 - TypeScript
The fast & forgiving HTML and XML parser
-
Updated
Oct 31, 2024 - TypeScript
A small but powerful JQuery alike library
-
Updated
Oct 31, 2024 - JavaScript
⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
-
Updated
Oct 31, 2024 - JavaScript
A powerful full-stack framework for Laravel that eases the pain of creating uniform user-side pages.
-
Updated
Oct 31, 2024 - JavaScript
📝 HTML to DOM parser.
-
Updated
Oct 31, 2024 - JavaScript
-
Updated
Oct 31, 2024 - JavaScript
ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library
-
Updated
Oct 31, 2024 - TypeScript
Non official TON based Design System. Inspired by TON Brand Assets and Telegram Community Design System.
-
Updated
Oct 31, 2024 - TypeScript
Check if a value is an `Error` instance.
-
Updated
Oct 31, 2024 - TypeScript
Created by World Wide Web Consortium
Released October 1, 1998
- Followers
- 45 followers
- Repository
- whatwg/dom
- Website
- dom.spec.whatwg.org
- Wikipedia
- Wikipedia