1. Home
  2. Computing & Technology
  3. JavaScript

Document Object Model

By Stephen Chapman, About.com

Definition: The document object model is a collection of class definitions that allow a program written in Javascript to interact with the objects on the web page.

Unfortunately there are three different DOMs that have been used by different web browsers. Netscape 4 used one DOM that was not incorporated into subsequent versions. Internet Explorer use their own DOM in all recent versions of their browser. The standard DOM developed by W3C is supported to varying extents by all modern browsers including Internet Explorer.

Also Known As: DOM
Examples:
document.write('This uses the write method of the document object defined in all DOMs');
Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.