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,549 public repositories matching this topic...
Test suites for Web platform specs — including WHATWG, W3C, and others
-
Updated
Jun 26, 2024 - HTML
Speeds up your clicks by combining the speed of pointerdown, and the features of the click event
-
Updated
Jun 26, 2024 - TypeScript
The fast, flexible, and elegant library for parsing and manipulating HTML and XML.
-
Updated
Jun 26, 2024 - TypeScript
Check if a value is an `Error` instance.
-
Updated
Jun 26, 2024 - TypeScript
Build fast web applications with Rust.
-
Updated
Jun 26, 2024 - Rust
the web component tool kit
-
Updated
Jun 26, 2024 - TypeScript
Prepare, render web pages - express middleware
-
Updated
Jun 25, 2024 - JavaScript
Tool for generating dom related TypeScript and JavaScript library files
-
Updated
Jun 26, 2024 - TypeScript
💎 Isomorphic html sanitizer by DOMPurify + sanitize-html
-
Updated
Jun 25, 2024 - TypeScript
A JavaScript implementation of a web browser without its graphical user interface
-
Updated
Jun 25, 2024 - TypeScript
Footnotes without the footprint.
-
Updated
Jun 25, 2024 - TypeScript
Comprehensive collection of coursework and study notes from the Complete JavaScript Course, instructed by Jonas Schmedtmann. It contains detailed notes, code snippets, exercises, and additional resources to aid in learning and understanding JavaScript concepts covered in the course.
-
Updated
Jun 25, 2024 - JavaScript
Basically in this repo you will find the Javascript topic wise codes with notes on every line of code. Beginner friendly JS notes, you can learn, revise e.t.c.
-
Updated
Jun 25, 2024 - JavaScript
⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
-
Updated
Jun 25, 2024 - JavaScript
Helpers functions to manipulate the DOM element css classes
-
Updated
Jun 25, 2024 - JavaScript
Helpers functions to facilitate event listener on DOM elements.
-
Updated
Jun 25, 2024 - JavaScript
Created by World Wide Web Consortium
Released October 1, 1998
- Followers
- 40 followers
- Repository
- whatwg/dom
- Website
- dom.spec.whatwg.org
- Wikipedia
- Wikipedia