BOM this post contains pictures

Source: Internet
Author: User
What is a BOM
  • BOM is an abbreviation for the browser object model, referred to as the browser objects models
  • The BOM provides an object that is independent of the content and interacts with the browser window
  • since the BOM is primarily used to manage the communication between Windows and Windows, its core object is the window
  • BOM, which is composed of a series of related objects. And each object provides many methods and properties
  • BOM lacks standard, the standardization organization of JavaScript syntax is Ecma,dom's standardization organization is the web, the
  • BOM was originally part of the Netscape browser standard
what you'll learn in the BOM section

In the BOM tutorial, students will learn some objects that interact with the browser window, such as a window object that can be moved, resize a browser, a location object and a History object that can be used for navigation, a browser, Navigator and screen objects for operating system and user screens, you can use document as a portal to access an HTML document, a

BOM structure

Window object, such as the frames object that manages the framework, is the top level (core) of the BOM object, all objects are extended through it, or can be called the child object of window

Because window is the top-level object, you can call its child objects without displaying the indicated window object, for example, the following two lines of code are the same:

example
  Document  .   Write   (  "  www.dreamdu.com  "  )  ;   window  .   Document  .   Write   (  "  www.dreamdu.com  "  )  ;  

BOM This post contains pictures

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.