Home >Web Front-end >JS Tutorial >Some usage skills of document.documentElement_javascript skills

Some usage skills of document.documentElement_javascript skills

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-16 17:36:131290browse
Copy code The code is as follows:

--documentElement attribute returns the root node of the document.





//If there is a space between the body and the div, or between each layer, it will affect the results
First layer
Second layer

Third layer


Fourth layer



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn