Changes

Jump to: navigation, search

JavaScript Document Object

45 bytes added, 19:36, 14 May 2007
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 (via a set of object methods and properties) 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:

Navigation menu