JavaScript中的dom对象简介

document对象代表一个文档 1.Document管理了所有的HTML文档 2.Document是一种树形结构图,有层级关系 3.它将所有的标签对象化 4.可以通过document访问所有标签对象 document对象的重要方法 document.getElementById(elementId) document.getElementByName(elementName) document.
相关文章
相关标签/搜索