• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 19. Using Dynamic HTML (DHTML) > Understanding DOM Structure

Understanding DOM Structure

In Hour 9, “Working with the Document Object Model,” you learned about how some of the most important DOM objects are organized: The window object contains the document object, and so on. While these objects were the only ones available in older browsers, the new DOM adds objects under the document object for every element of a page.

To better understand this concept, let's look at the simple HTML document in Listing 19.1. This document has the usual <head> and <body> sections, a heading, and a single paragraph of text.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint