IT lexicon › Web › DOM Tree

DOM Tree

Web På svenska → Updated: 2026-11-15

The browser's internal representation of a web page's HTML structure, which the rendering engine parses to build the render tree.

The DOM tree is the browser's first step in the rendering pipeline after parsing HTML. Every HTML element becomes a node in the tree, with parent and child relationships matching the document structure. This is what JavaScript manipulates when you update the DOM via APIs like getElementById() or appendChild().

Combined with the CSSOM tree (built from CSS rules), the DOM tree forms the input to the render tree — the internal model the browser uses to determine what actually gets drawn on screen. Changes to the DOM often trigger recalculations deep in the rendering pipeline.

← Back to the lexicon