The Document Object Model
Table of contents | Previous | Next
As stated above, the DOM provides an interface for accessing and updating the structure of a document. You will often hear the DOM referred to as a tree, that contains branches or nodes. The nodes are the structural tags on the page, beginning with the tag. Under the node are the
and nodes. The node contains the bulk of the DOM tree, with nodes for tags like h1, div, and p.