The Document Object Model (DOM) is a W3C standardized programming interface that allows scripts to examine and modify the contents of the web browser. By the DOM, the composition of an HTML or XML document is represented as a set of objects – which can represent a window, a sentence or a style, for example …