The DOM chart provided here shows only part of the DOM. I would have liked to provided a more complete chart, but I can't find an example of a DOM chart that is complete without getting overly complex. I'll be back to update this chart as I learn more.
Welcome to Bucaro TecHelp!

Welcome to Bucaro TecHelp!
Maintain Your Computer and Use it More Effectively
to Design a Web Site and Make Money on the Web

[About BTH]  [User Agreement]  [Privacy Policy]  [Site Map]  [Contact Form]  [Advertise on BTH]  [News Feed]

Google
Web
This Site

The Document Object Model (DOM)

The elements on a Web page are arranged like branches on a tree (more like an inverted tree, since the root is the top). Each html element represents a node in the DOM tree. Each html element is defined by an opening tag and a closing tag. An Html element that is nested inside another tag is a child node of that parent node.

The purpose of the DOM is to provide an operating system and programming language independent interface to the elements on a Web page. This allows designers using different platforms and languages to modify and style Web pages. Unfortunately, things didn't start out that way.

The browser world started out with two competing models, one created for Netscape Navigator, the other for Microsoft Internet Explorer. Unfortunately, the two object models were not entirely compatible. As each company released new versions of their browsers, they used object models that were not completely compatible with that companies previous version. Finally the World Wide Consortium (W3C) was established to create an international standard. Unfortunately, that compounded the problem.

The W3C created the W3C DOM which was not entirely compatible with neither Netscape's nor Microsoft's browser model. Then the W3C released the W3C DOM Level 2, and W3C DOM Level 3 standards. Now we have a whole pile of incompatible standards, leaving designers leafing through dog-eared compatibility charts, while writing convoluted browser detection algorithms (none of which ever performed properly).

Ultimately all browsers are supposed to comply with the latest W3C standard, and browser developers are working to achieve that goal - but it won't happen any time soon. However, after leafing through your latest compatibility charts, you'll learn that, at least in the basic DOM, a higher level of compatibility has been achieved. The secret to good web design is to use a conservative approach.

Don't try to design for compatibility with browsers more than one version previous to the latest release. Those old browsers are used by only a tiny segment of users, and that is not the big-spender segment. Don't try to design for the latest gee-wiz trivial feature of the latest browser versions, stick with the core basic DOM, which has the most universal compatibility.

The DOM chart provided here shows only part of the DOM. I would have liked to provided a more complete chart, but I can't find an example of a DOM chart that is complete without getting overly complex. I'll be back to update this chart as I learn more.

Web Design Sections
Java Script Quick Reference
Java Script Data Types
Java Script Reserved Words
Java Script Arithmetic Operators
Comparison Operators
Java Script Arrays
Java Script Character Encoding and Decoding
The if/else Structure
The switch/case Structure
The for Loop
The while Loop
The break Statement
The continue Statement
JavaScript Math Object
Round a Number
Determine Absolute Value
Determine Minimum and Maximum
Generating Random Numbers
Java Script Trigonometric Methods
Java Script Number Object
Format a Number as Currency
Java Script Strings
Compare Two Strings
Find a Character or a Substring Within a String
Include a Quote Character in a String
Include a Backslash Character in a String
Define Lines in a String
Use Escape to Replace Dangerous Characters
Convert a Number to a String
Convert a String to a Number
The Document Object Model (DOM)
Accessing Web Page Elements
Interactively Set Webpage Colors
Get Webpage File Date and File Size
Dueling Windows
Cookie Power Made Easy

[Site User Agreement]  [Advertise on This site]  [Search This Site]  [Contact Form]
Copyright©2001-2007 Bucaro TecHelp P.O.Box 18952 Fountain Hills, AZ 85269