Skip to content

QuizNot attempted

DOM vs BOM

Which belongs to the BOM (Browser Object Model) rather than the DOM?
1–4 to choose, Enter to submit
Show answer & explanation

Correct answer:

  • window.location and history
  • The BOM is the browser around the document: window.location, history, navigator, screen, timers.
  • Not querySelector, classList, createElement: all three operate on the document tree (document and its element nodes), which is the DOM.