How to understand the document node

1. document is one of seven nodes in the document, is a top node;

2. The other six nodes are enclosed within the document nodes;

3. document both a node name, such nodes are instances of objects in the DOM;

4. Each document has a document node, but the document object corresponding to the different environments, the method of obtaining the document object is not the same.;

Guess you like

Origin www.cnblogs.com/aisowe/p/11531024.html