The Document Object Model, abbreviated DOM, is a powerful tree-like structure that allows programmers to conceptualize hierarchy and access the elements on a web page.
The DOM is one of the better-named acronyms in the field of Web Development. In fact, a useful way to understand what DOM does is by breaking down the acronym but out of order:
- The DOM is a logical tree-like Model that organizes a web page’s HTML Document as an Object.
Note: There are other types of documents, such as XML and SVG, that are also modeled as DOM structures.
For this reason, we like to think of the DOM as the link between an HTML web page and scripting languages.