HomeDHTML Page 3 - Rough Guide To The DOM (part 1)
Navigating The Family Tree - DHTML
It's the bane of Web developers everywhere - conflicting standards, browser incompatibilities, and code that changes every time a new browser version hits the Web. But fear not - charging in on a white steed comes a heroic knight, clad in the attire of the new W3C DOM and armed with the tools to make this nightmare end forever. Read on to find out how the new DOM finally brings some standards to the decidedly non-standard world of the Web.
Each child in the tree can be either an HTML tag or a "text node". Thisbrings up an important point - blank spaces and carriage returns betweenthe various tags can affect the document tree structure, creating textnodes in the tree structure and causing much gnashing of teeth as youadjust your code to the new tree.