What is DOM ?
The Document Object Model (DOM) represents HTML or XML page in such a way that programs can change document structure, content and style.
The DOM represents the document as nodes as well as objects.
The DOM is object oriented representation of web page, which can be modified by scripting language like Javascript.