Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
#

Document Object Model (DOM)

DOM (short forDocumentObjectModel) 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,938 public repositories matching this topic...

preact

⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.

  • UpdatedMar 17, 2025
  • JavaScript

Screenshots with JavaScript

  • UpdatedJul 18, 2024
  • TypeScript

The fast, flexible, and elegant library for parsing and manipulating HTML and XML.

  • UpdatedMar 18, 2025
  • TypeScript
leptos

Build fast web applications with Rust.

  • UpdatedMar 16, 2025
  • Rust

DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:

  • UpdatedMar 16, 2025
  • JavaScript

A declarative, HTML-based language that makes building web apps fun

  • UpdatedMar 17, 2025
  • JavaScript
partytown

Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉

  • UpdatedFeb 15, 2025
  • TypeScript

:octocat:Vue.js 源码解析

  • UpdatedFeb 16, 2023
  • JavaScript
jsoup

jsoup: the Java HTML parser, built for HTML editing, cleaning, scraping, and XSS safety.

  • UpdatedMar 18, 2025
  • Java

Generates an image from a DOM node using HTML5 canvas

  • UpdatedApr 8, 2024
  • JavaScript
cash

An absurdly small jQuery alternative for modern browsers.

  • UpdatedMar 2, 2024
  • JavaScript

🚂🚋 - sturdy 4kb frontend framework

  • UpdatedJan 23, 2020
  • JavaScript

The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.

  • UpdatedFeb 15, 2021
  • JavaScript
html-dom

Common tasks of managing HTML DOM with vanilla JavaScript. Give me 1 ⭐if it’s useful.

  • UpdatedJun 6, 2024
  • MDX

🐤 The friendly full-stack language

  • UpdatedMar 6, 2025
  • JavaScript

✂️ Generates an image from a DOM node using HTML5 canvas and SVG.

  • UpdatedFeb 14, 2025
  • TypeScript

Morph DOM elements from one state to another with smooth animations and transitions

  • UpdatedFeb 9, 2017
  • JavaScript

👼 The ultimate angle brackets parser library parsing HTML5, MathML, SVG and CSS to construct a DOM based on the official W3C specifications.

  • UpdatedFeb 2, 2025
  • C#

CSS classes to move your DOM!

  • UpdatedJun 19, 2024
  • SCSS

Created by World Wide Web Consortium

Released October 1, 1998

Followers
47 followers
Repository
whatwg/dom
Website
dom.spec.whatwg.org
Wikipedia
Wikipedia

Related Topics

dhtml html shadow-dom virtual-dom xml

[8]ページ先頭

©2009-2025 Movatter.jp