What is DOM(Document Object Model)?

In my Words the Document object Model is a programming interface for HTML and XML documents. It represents the page so that programs can change the document structure, style, and content. ... The DOM is an object-oriented representation of the web page, which can be modified with a scripting language such as JavaScript.

Image result for document object model in javascript

Comments