JavaScript Basic Cross-Browser Document Object Model

Part of JavaScript For Dummies Cheat Sheet

Like any other language, JavaScript has its own grammar and syntax — rules you need to follow to be understood. The following document object hierarchy lists the built-in objects you can work with in client-side JavaScript, along with their relationships to each other: