In this article, I’m going to guide you on what’s DOM and how to work with DOM?
DOM(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 represents the document as nodes and objects. That way, programming languages can connect to the page.
The HTML DOM
When a web page is loaded, the browser creates a Document Object Model of the page.
The HTML DOM model is constructed as a tree of objects.
The HTML DOM is a standard for how to get,change,add,or delete HTML elements.
In the next series I’m going to write about DOM Methods.