The Document Object Model (DOM), Part II | WebReference

The Document Object Model (DOM), Part II


The Document Object Model (DOM), Part II

Last column we introduced the Document Object Model (DOM), supported by both Internet Explorer 5.0 and up, and Netscape's Gecko. We showed you how to analyze and synthesize the models of a table and a simple three-paragraph document. In this column we'll get deeper into the Document Object Model's capabilities. We'll analyze and synthesize the models of more complex documents and two HTML elements.

Last time we explained the benefits and the strength of the Document Object Model. The DOM is very intuitive, consistent, and easy to use. The compound documents we'll present here will demonstrate these advantages very clearly. By the end of this column you'll be able to take any HTML document, analyze it, and figure out how its DOM tree should look like. You'll also be able to navigate the tree up, down, and sideways.

In particular, you'll learn:

https://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran

Created: June 14, 1999
Revised: June 21, 1999

URL: https://www.webreference.com/js/column41/