Concept · Technical basics

DOM

Also called: Document Object Model, the DOM

Document Object Model. The tree of elements a browser builds from a web page's HTML. Code changes what you see by changing the DOM.

For example: When you click 'Add to cart' and the cart count changes without a reload, code updated the DOM.

Connects to 4

Page last changed · Suggest a correction