What is DOM (Document Object Model)?
An interface that represents an HTML or XML document as a tree whose nodes are elements, text and so on, so that programs can read and write it. The browser parses HTML to build the DOM, and JavaScript finds elements with methods such as document.querySelector and changes their text, attributes and styles or adds elements. When the DOM changes, the browser redoes the layout calculation and painting as needed, so too many changes slow down the display.
Japanese name: DOM(Document Object Model)
DOM (Document Object Model) appears in 3 practice questions across 1 topic, including Web Technology Basics.
Field: Web Technology Basics