IT lexicon Web DOM

DOM Document Object Model

Web På svenska → Updated: 2026-07-30

The tree of objects the browser builds from HTML — what JavaScript manipulates to change the page.

document.querySelector('h1').textContent = 'Hi' finds and changes a node in the DOM. Creating/removing nodes is expensive; React/Vue optimise with a Virtual DOM that batches updates.

← Back to the lexicon