The Document Object Model & jQuery
The Document

The Document Object Model (DOM) is the backbone of every webpage. A web browser parses HTML and Javascript and maintains a data model of what should be displayed to the user.

To start to understand the DOM, we will begin with the document object. This object contains a hierarchy of all the contents of the web page -- text, images, links, etc. We can access this object in Javascript using the document keyword.


Go ahead and type document.