What dom bom and that?

DOM: Document Object Model, a method of processing web content and interface. The most fundamental object is a document (window.document).

Since the DOM operation object is a document, so the browser DOM and is not directly related.

File is deployed on the server folder, right view the source code and so on.

BOM: browser object model, describes a method and an interface to interact with the browser. By the navigator, history, screen, location, window five objects, the most fundamental object is a window.

Used to get or set the browser's properties, behavior, such as: new window, access the screen resolution, browser version number.

Tab browser, the address bar, search bar, menu bar, scroll bars, and so on.

 

DOM is the W3C standard, BOM no standards.

Guess you like

Origin www.cnblogs.com/LWWTT/p/11084690.html