# DOM The Document Object Model - DOM - is tree structure consisting of nodes representing the contents of an (X)HTML or XML document. It is used to create the visual representation of the document, typically by a web browser. Each node is an object that can be accessed separately and manipulated to change the visual representation.