What is the Document Object Model?
The Document Object Model (DOM) is an application programming interface (API) for valid HTML and well-formed XML documents. It defines the logical structure of documents and the way a document is accessed and manipulated. [...] Nevertheless, XML presents this data as documents, and the DOM may be used to manage this data.
In other words, the DOM is not a string, but HTML/XML may represent the DOM as a string.
DOM specs
- DOM Level 1
- DOM Level 2 Core
- DOM Level 2 Views (Obsolete)
- DOM Level 2 Events
- DOM Level 2 Style
- DOM Level 2 Traversal and Range
- DOM Level 2 HTML
- DOM Level 3 Core
- DOM Level 3 Load and Save
- DOM Level 3 Validation
- DOM Level 3 Events
- DOM Level 3 XPath
- DOM Level 4 Core