Chapter 135·Beginner
The DOM: How the Browser Models a Page
01 / 06
The core idea
The browser parses your HTML into a tree, one node per element, nested exactly like your tags. That tree — the DOM — is what actually gets rendered.