First page Back Continue Last page Graphics

Document Object Model


Notes:

Document Object Model

DOM is a platform- and language-independent standard object model to represent HTML or XML and related formats.

A Web browser is not obliged to use DOM to render an HTML document. However, DOM is required by JavaScript scripts, which inspect or modify a Web page dynamically. In other words, DOM is the way JavaScript sees the HTML page that contains it and the browser state.