File:DOM-model.svg · Wikimedia Commons · See Wikimedia Commons
Key facts
- Abbreviation
- DOM
- Latest version
- DOM4 , November 19, 2015 ; 10 years ago ( 2015-11-19 )
- Organization
- World Wide Web Consortium , WHATWG
- Base standards
- WHATWG DOM Living Standard , W3C DOM4
via Wikipedia infobox
Source code
We are committed to providing a friendly, safe, and welcoming environment for all. Please read and respect the Code of Conduct. Folks notice minor and larger issues with the DOM Standard all the time and we'd love your help fixing those. Pull requests for typographical and grammar errors are also most welcome. Issues labeled "good first issue" are a good place to get a taste for editing the DOM Standard. Note that we don't assign issues and there's no reason to ask for availability either, just provide a pull request. If you are thinking of suggesting a new feature, read through the FAQ and Working Mode documents to get yourself familiarized with the process. In short, change dom.bs and submit your patch, with a good commit message. Please add your name to the Acknowledgments section in your first pull request, even for trivial fixes. The names are sorted lexicographically. To ensure your patch meets all the necessary requirements, please also see the Contributor Guidelines. Editors of the DOM Standard are expected to follow the Maintainer Guidelines. A dashboard showing the tests running against browser engines can be seen at wpt.fyi/results/dom. For quick local iteration, run make ; this will use a web service to build the standard, so that you don't have to install anything. See more in the Contributor Guidelines. Do not use newlines inside "inline" elements, even if that means exceeding the column width requirement. Using newlines between "inline" element tag names and their content is also forbidden. (This actually alters the content, by adding spaces.) That is Do not indent for anything except a new "block" element. For instance End tags may be included (if done consistently) and attributes may be quoted (using double quotes), though the prevalent theme is to omit end tags and not quote attributes (unless they contain a space). Place one newline between paragraphs (including list elements). Place three newlines before , and two newlines before other headings. This does not apply when a nested heading follows the parent heading. Use camel-case for variable names and "spaced" names for definitions, algorithms, etc.
Excerpt from the source-code README · 4,674 chars · not written by Vinony
Wikidata facts
- Instance of
- application programming interface
- Official website
- dom.spec.whatwg.org
- Image
- DOM-model.svg
Show 8 more facts
- standards body
- World Wide Web Consortium
- Stack Exchange tag
- stackoverflow.com/tags/dom
- Commons category
- Document object models
- work available at URL
- dom.spec.whatwg.org
- source code repository URL
- github.com/whatwg/dom
- uses
- web browser
- short name
- DOM
- different from
- DOM
Sources (6)
via Wikidata · CC0
Article · 中文
文件物件模型(英語:Document Object Model,缩写DOM),是W3C组织推薦的处理可扩展置标语言的标准程式接口。 Document Object Model的歷史可以追溯至1990年代後期微軟與Netscape的“瀏覽器大戰”(browser wars),雙方為了在JavaScript與JScript一決生死,於是大規模的賦予瀏覽器強大的功能。微軟在網頁技術上加入了不少專屬事物,既有VBScript、ActiveX、以及微軟自家的DHTML格式等,使不少網頁使用非微軟平台及瀏覽器無法正常顯示。DOM即是當時醞釀出來的傑作。 DOM (Document Object Model) 译为文档对象模型,是 HTML 和 XML 文档的编程接口。 HTML DOM 定义了访问和操作 HTML 文档的标准方法。 DOM 以树结构表达 HTML 文档。 W3C DOM 标准被分为 3 个不同的部分: * 核心 DOM - 针对任何结构化文档的标准模型 * XML DOM - 针对 XML 文档的标准模型 * HTML DOM - 针对 HTML 文档的标准模型 XML DOM 定义了所有 XML 元素的对象和属性,以及访问它们的方法。
Abstract from DBpedia / Wikipedia · CC BY-SA