JavaScript DOM

DOM - Document Object Model

It defines a standard for accessing documents. The DOM is a platform and language - neutral interface that allows programsand script to dynamically access the content, structurem, and style of a document.

The DOM is a programming API for HTML and XML documents. It defines the logical structures of documents and the way a document is accessed and manipulated.

Document in Javascript

A document object represents the HTML document that is dispalyed inthe window. The document object has various properties that refer to other objects which allow access to and modification of document content.