Computer PPSC
What does DOM stand for?
Show answer
Correct answer: B) Document Object Model
The Document Object Model is a programming interface for HTML and XML documents. It represents the page as a tree of objects that scripts like JavaScript can read and modify.
Related facts:
In the DOM, every HTML element (headings, paragraphs, links) becomes a node in the tree.
JavaScript uses the DOM to change page content dynamically.
HTML stands for HyperText Markup Language.
Exam tip: Pair DOM with other web abbreviations (HTML, XML, CSS, URL) when revising; these are common one-mark questions.
Explanation
The Document Object Model is a programming interface for HTML and XML documents. It represents the page as a tree of objects that scripts like JavaScript can read and modify.
Related facts:
In the DOM, every HTML element (headings, paragraphs, links) becomes a node in the tree.
JavaScript uses the DOM to change page content dynamically.
HTML stands for HyperText Markup Language.
Exam tip: Pair DOM with other web abbreviations (HTML, XML, CSS, URL) when revising; these are common one-mark questions.