BOM & DOM

BOM

BOM is the Browser Object Model. It creates a model of the browser tab/window. The topmost object is the 'window' object(current browser window), and child objects include:

DOM

DOM is the Document Object Model. It creates a model of the current webpage. Topmost object is 'document' object(represents the page)