One of the JavaScript getting started courses

Source: Internet
Author: User

1. What is JavaScript?
1. JavaScript is a script language for interpreting execution.
2. JavaScript is a programming language that can be used to add interactivity to webpages.
3. JavaScript is not Java. Javascrui was developed by Netscape and Java was developed by sun.
Ii. JavaScript development tools
In a sense, all text editing software can write JavaScript code. We recommend that you use Aptana IDE on windows, of course, more development tools can be used to search for more results! We recommend that you use the TextWrangler developed by Bare Bones software on mac.
Iii. JavaScript considerations
1. Case Sensitive
2. Space and line feed: spaces are ignored in the Code. All letters of the same identifier must be consecutive. One line of code can be divided into multiple lines of books, but different strings. To divide a string into multiple rows, each row must be used as a separate string, and then the strings in different rows are connected using the "+" operator.
3. Semicolons are optional. However, we recommend that you use semicolons to differentiate them.
Iv. JavaScript program demonstration

<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <ptml xmlns = "http://www.w3.org/1999/xhtml"> <pead> <meta http-equiv =" content-Type "content =" text/html; charset = gb2312 "/> <title> first JavaScript Program </title> </pead> <body> </ptml>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]

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.