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,522 public repositories matching this topic...
EduText is a fully functional ed-tech platform that enables users to create, consume, and rate educational content. The platform is built using the MERN stack, which includes ReactJS, NodeJS, MongoDB, and ExpressJS.
-
Updated
Jun 6, 2024 - JavaScript
View components in pure Go, that render to HTML 5.
-
Updated
Jun 6, 2024 - Go
Collection of essential Leptos utilities inspired by React-Use / VueUse / SolidJS-USE
-
Updated
Jun 6, 2024 - Rust
Test suites for Web platform specs — including WHATWG, W3C, and others
-
Updated
Jun 6, 2024 - HTML
📝 HTML to DOM parser.
-
Updated
Jun 6, 2024 - JavaScript
Independence Day wishes Task
-
Updated
Jun 6, 2024 - JavaScript
Micro library for performing 2D spatial calculations of DOM elements
-
Updated
Jun 6, 2024 - TypeScript
📝 HTML to React parser.
-
Updated
Jun 6, 2024 - TypeScript
The fast, flexible, and elegant library for parsing and manipulating HTML and XML.
-
Updated
Jun 6, 2024 - TypeScript
Evite confusão na hora das contas, racha aí com a galera
-
Updated
Jun 6, 2024 - TypeScript
Build fast web applications with Rust.
-
Updated
Jun 6, 2024 - Rust
🎨 A React component that injects SVG into the DOM.
-
Updated
Jun 6, 2024 - TypeScript
VideoAulas de lógica de programação para iniciante em Javascript | Curso de JavaScript Matheus Battisti - Hora de Codar
-
Updated
Jun 5, 2024 - HTML
Submission Aplikasi Pengelolaan Data Menggunakan DOM dan Web Storage
-
Updated
Jun 5, 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