Basic Javascript knowledge (I) core basic syntax and event model _ basic knowledge

Source: Internet
Author: User
This article mainly introduces the usage and syntax of Javascript. Traditional events and modern events are some of my experiences in javascript learning recently. I would like to share this article with you. basic Javascript core syntax

1. Javascript is a programming language that increases interaction. It was originally invented by Netscape and finally submitted to ECMA (European Computer Manufacturers Association). ECMA standardizes Javascript and named it Javascript.

2. Javascript is an explanatory language that can be run directly in a browser without compilation.

3. What is the purpose of Javascript?

1. You can control all elements on the webpage, add, delete, and modify the attributes of the elements.

2. You can add dynamic text in html.

3. Respond to events generated when users use webpages.

4. Verify user input data.

5. Check your browser.

6. Create a cookie.

4. Three methods for creating Javascript in html Web pages

1. External style:

Create a file named xx. js through

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.