HTML-DOM是w3c组织定义的标准,它定义了访问并操作HTML文档的标准方法(API).
What is the HTML DOM?
- The HTML DOM is the Document Object Model for HTML
- The HTML DOM is platform and language independent
- The HTML DOM defines a standard set of objects for HTML, and a standard way to access and manipulate HTML documents
- The HTML DOM is a W3C standard
The HTML DOM views HTML documents as a tree structure of elements embedded within other elements. All elements, their containing text and their attributes, can be accessed through the DOM tree. Their contents can be modified or deleted, and new elements can be created by the DOM. The elements, their text, and their attributes are all known as nodes.
本文介绍了HTML-DOM标准,这是W3C定义的一套访问和操作HTML文档的方法。通过将HTML文档视为元素树结构,DOM允许开发者修改文档内容、属性及创建新元素。
2367

被折叠的 条评论
为什么被折叠?



