Home >Web Front-end >JS Tutorial >Explanation of window, document, and body in JavaScript_Basic knowledge

Explanation of window, document, and body in JavaScript_Basic knowledge

WBOY
WBOYOriginal
2016-05-16 17:25:471292browse

The Window object represents an open window in the browser.

That is, a browser window has only one window object.

The Document object is the HTML document loaded into the browser

That is, the window loads the document.

Body object represents the body of the HTML document (HTML body).

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