DOM tree
noun
say it: “DOM tree” /ˈdɑm triː/
The family tree of nodes the browser builds from a page's HTML: the document at the top, then elements, text and comments inside each other. It's what the browser shows.
What is DOM tree?
DOM tree — The in-memory tree of document, element, text, comment, and other nodes produced from markup.
In a sentence
- “In Developer Tools I opened the DOM tree and saw the browser had moved my stray paragraph out of the list.”
- “The Elements panel shows the DOM tree, which is why it doesn't always match my file.”
- “JavaScript changed the price in the DOM tree, and the page updated without a reload.”
Level: Master · More JavaScript terms at this level
Updated