in Angular by
Differentiate between DOM and BOM in Angular

1 Answer

0 votes


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 Jan 6, 2020 in Angular by sharadyadav1986