The DOM – Unscrewing the Document The Document Object Model is a representation of the whole document as nodes and attributes. You can access each of these nodes and attributes and change or remove them. You can also create new ones or add attributes to existing ones. In other words: the document is yours! The DOM Tree And how the browser sees it. A nested list of nodes, attributes and chil