The HTML DOM is an abbreviation for the HTML Document Object model,
JavaScript uses HTML DOM to manipulate HTML documents.
The following illustration is a Document object model for a simple HTML document in a browser window.
Where windownavigatorscreenhistoryloaction are the environment objects that HTML documents need to run,
The Document object is the HTML file, and it has sub branches, htmlheadbody, and so on.
The specific features of each object are described below:
Window object: Is the topmost object, and the Document object is displayed in the Window object.
Navigator object: You can read information about the browser.
Screen object: You can read the physical environment in which your browser is running, such as the width and height of your screens.
Document object: The contents of an HTML document.
After each HTML document is loaded by the browser, a document object is initialized in memory.
Location object: You can control the page's jump.
--This article links http://www.cxybl.com/html/wyzz/JavaScript_Ajax/20130109/35751.html
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.