Skip to content

Glossary: JavaScript in the Browser

document

Also written: document.documentElement

The ready-made object at the top of the DOM tree, with properties and methods for everything below it. document.documentElement is the html element.

Where the book teaches it

Related terms

window