34,333
edits
Changes
→What is the JavaScript Document Object?
== What is the JavaScript Document Object? ==
The JavaScript Document object essentially contains the HTML elements that are contained the ''<head>'' and ''<body>'' sections of a web page. It provides the hooks that enable basic changes to be made to the content of a browser window from within a JavaScript script. The Document object gets the initial value of its ''title'' property from the HTML ''<title>'' tag and a number of color and event values from the ''<body>'' element:
<pre>