Alternative Style: Working With Alternat. So you’ve got a web page.
The Document Object Model (DOM) is a programming interface for HTML and XML documents.
It provides a structured representation of the document (a tree) and it defines a way that the structure can be accessed from programs so that they can change the document structure, style and content. The DOM provides a representation of the document as a structured group of nodes and objects that have properties and methods.