Overview of JavaScript learning experience _ basic knowledge

Source: Internet
Author: User
This article mainly introduces some basic things of javascript, including the introduction of javascript and the introduction of the & lt; script & gt; elements. It also gives you a better understanding of javascript through examples, very good. I recommend it to you. 1. JavaScript is a scripting language designed for interaction with webpages.

ECMAScript (CORE) DOM (Document Object Model) BOM (Browser Object Model)

1.1 ECMAScript

ECMA-262-defined ECMAScrip has no dependency with Web browsers, ECMA-262 defines only the basis of this language, providing core language functionality

ECMAScript is a scripting language standardized through the ECMA-262, The ECMA-262 specifies the language: syntax, type, statement, keywords, reserved words, operators, objects

1.2 DOM (Document Object Modle)
DOM is an XML but extended Application Programming Interface (API) for HTML. It provides methods and interfaces for accessing and operating webpage content.

DOM maps the entire page into a multi-layer node structure. Each component of pages such as HTML and XML is a certain type of node, and these nodes contain different types of data.

1.3 BOM (Bower Object Modle)
The BOM only processes browser windows and frameworks and provides methods and interfaces for interacting with browsers.

Ii. script elements
2.1 reference javascript files
External Reference javascript file:

The Code is as follows:


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.