Question: how html represents the dom?
Answer: The Document Object Model (DOM) 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. ... This document can be either displayed in the browser window or as the HTML source.