The Document Object Model (DOM) is a platform- and language-independent standard object model for representing HTML or XML and related formats.
A web browser is not obliged to use DOM in order to render an HTML document. However, the DOM is required by Javascript scripts that wish to inspect or modify a web page dynamically. In other words, the Document Object Model is the way Javascript sees its containing HTML page and browser state.
(courtesy of Wikipedia)
|