What exactly is a Document Object Model (DOM)?
The capacity to modify the content of a web page is known as dynamic HTML. It was difficult to dynamically change the contents of a page before to HTML4.0. However, with the introduction of DHTML and the DOM, dynamically changing the contents of a page became much easier.