0 votes
in Angular by
Differentiate between DOM and BOM in Angular

1 Answer

0 votes
by

DOM BOM

1. Stands for Document Object Model 1. Stands for Browser Object Model

2. Represents the contents of a web page 2. Works a level above web page and includes browser attributes

3. All the Objects are arranged in a tree structure and the document can be manipulated & accessed via provided APIs only 3. All global JavaScript objects, variables & functions become members of the window object implicitly

4. Manipulates HTML documents 4. Access and manipulate the browser window

5. W3C Recommended standard specifications 5. Each browser has its own implementation

Related questions

+1 vote
asked Jan 15, 2020 in Angular by rahuljain1
0 votes
asked Jun 6, 2022 in Angular by john ganales
...