Javascript Advanced Programming (3rd edition)-No. 01 Chapter

Source: Internet
Author: User

2017-05-10JS Introduction

Invented by a man named "Not hard to be". The popularity of JS is due to the relationship between Ajax.

JS is divided into three parts:
    • Core: ECMAScript
    • Document Object Model: DOM
    • Browser Object Model: BOM
Core: ECMAScript

He has nothing to do with the browser, just the syntax, the type, the keywords or something.

Document Object Model: DOM

Dom is to think of HTML as a tree structure so that you can manipulate them through the API.
Html:

<html>  <head>    <title>Sample Page</title>  </head>  <body>    <p>Hello world!</P>  </body></html>

Dom Tree:

Browser Object Model: BOM

Used to control what the browser displays outside of the page, such as:

    • Pop up a new window
    • Move, close a window
    • Information about the current page
    • Resolution of the user's display

The BOM has no standards, and each browser has its own DOM functionality.

?

Javascript Advanced Programming (3rd edition)-No. 01 Chapter

Related Article

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.