DOM
The live tree of elements the browser builds from HTML.
The Document Object Model (DOM) is the in-memory tree created when a browser parses HTML. Scripts, CSS, and assistive technologies interact with this tree — not the raw file text alone.
The live tree of elements the browser builds from HTML.
The Document Object Model (DOM) is the in-memory tree created when a browser parses HTML. Scripts, CSS, and assistive technologies interact with this tree — not the raw file text alone.