+ 1
What is the difference between DOM & BOM in javascript? ?
DOM (Document Object Model ) & BOM (Browser Object Model )
3 Réponses
+ 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).
0
thank u