Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (7k points)
I am interested to know what is the difference between Browser Object Model and Document Object Model

1 Answer

0 votes
by (13.1k points)
edited by

A Browser Object Model(BOM) is a superset of the Document Object Model. It does not have a standard defined hence, it is implemented in different ways in different browsers. The BOM’s main task is to manage browser windows and enable communication between them. 

Document Object Model(DOM) is a standard API defined by W3C. It is used for representing and interacting with HTML, XHTML, and XML documents. It organizes its elements into a tree structure known as a DOM tree and the elements in this tree are defined as objects which have properties and methods.

The objects in a DOM tree can be accessed and manipulated using any language since it is cross-platform and language-independent. Typically, we use it in JavaScript and JQuery.

Want to become a Web Developer, join Web Development Certification now!

Related questions

Browse Categories

...