Generally, through the DOM, the data is an HTML/XML document, and the data structure used to represent the data is a ???tree,??? with various ???nodes.??? As an example of such a tree, consider a simple HTML document, with various tags containing basic elements needed for its construction.