来源:网络 | 2007-5-5 | (有3872人读过)
什么是DOM? "The W3C Document Object Model (DOM) is a platform and language neutral interface that allows programs and s cripts to dynamically access and update the content, structure, and style of a document." “W3C文档对象模型(DOM)是一个能够让程序和脚本动态访问和更新文档内容、结构和样式的语言平台”
The W3C DOM provides a standard set of objects for representing HTML and XML documents, and a standard interface for accessing and manipulating them. W3C DOM提供了标准的HTML和XML对象集,并有一个标准的接口来访问并操作他们
The DOM is separated into different parts (Core, XML, and HTML) and different levels (DOM Level 1/2/3): DOM被分为不同的部分(核心,XML和HTML)和不同的版本(DOM 1/2/3)
Core DOM - defines a standard set of objects for any structured document 定义了任意结构文档的标准对象集合 XML DOM - defines a standard set of objects for XML documents 定义了针对XML文档的标准对象集合 HTML DOM - defines a standard set of objects for HTML documents 定义了针对HTML文档的标准对象集合
|