The document object is associated with the Web page appearing in the browser. It is a property of the window object and is also an object itself which includes properties and methods that permit JavaScript control over the look and feel of the current XHTML document.