What is the difference between DOM & BOM in javascript? ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the difference between DOM & BOM in javascript? ?

DOM (Document Object Model ) & BOM (Browser Object Model )

6th May 2017, 4:32 AM
Nayan Pal
Nayan Pal - avatar
3 Answers
+ 6
The Browser Object Model is a larger representation of everything provided by the browser including the current document, location, history, frames, and any other functionality the browser may expose to JavaScript. The Browser Object Model is not standardized and can change based on different browsers. The Document Object Model is standardized and is specific to current HTML document. It is exposed by the Browser Object Model (i.e., DOM is a subset of BOM).
6th May 2017, 4:43 AM
Ivan G
Ivan G - avatar
0
thank u
12th May 2017, 7:03 AM
Nayan Pal
Nayan Pal - avatar
16th Jul 2017, 5:53 PM
Vitor No caso da uma olhadinha na hora que
Vitor No caso da uma olhadinha na hora que - avatar