The first chapter of JavaScript

Source: Internet
Author: User

Learning the first chapter of JavaScript, JS has a preliminary understanding.

First, JavaScript consists primarily of three parts: the core (ECMAScript), the Document Object Model (DOM), the browser object model (BOM)

ECMAScript is primarily used to provide the core language, which includes syntax, types, statements, keywords, reserved words, operators, and objects. A host environment such as a Web browser is required to provide a basic ECMAScript implementation, while the hosting environment can also provide language.

DOM is an application programming interface for XML that has been extended for HTML, which can map an entire page into a multi-tiered node structure. With DOM, one can easily delete, add, replace, or modify any node. Dom grading, Level 1 primarily maps the structure of the document, while Level 2 adds Dom views, events, styles, traversal, and scope based on level 1.

The BOM mainly deals with browser windows and frames, and provides methods and interfaces for interacting with the browser.

The first chapter of JavaScript

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.