Document()
Document
构造器创建一个新的 Document
对象,该对象是在浏览器中加载的页面,并作为页面内容的入口点。
语法
new Document();
规范
规范 | 状态 | 备注 |
---|---|---|
DOM Document |
Living Standard | Initial definition. |
浏览器兼容性
BCD tables only load in the browser
Document
构造器创建一个新的 Document
对象,该对象是在浏览器中加载的页面,并作为页面内容的入口点。
new Document();
规范 | 状态 | 备注 |
---|---|---|
DOM Document |
Living Standard | Initial definition. |
BCD tables only load in the browser