What is the DOM and BOM in JavaScript?
The BOM (Browser Object Model) consists of the objects navigator
, history
, screen
, location
and document
which are children of window
. In the document
node is the DOM (Document Object Model), the document object model, which represents the contents of the page. You can manipulate it using javascript.
- DOM - Document Object Model
- BOM - Browser Object Model
This article explains relationship between Javascript, DOM and BOM.