The Document Object Model (DOM) is a programming interface for HTML and XML documents.
It represents the page in a tree structure so that program can read, access, and 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.
Every web browser uses some document object model to make web pages accessible via javascript.
image references : w3schools
Top comments (0)