Simple application of JavaScript scripting in web pages _ basic knowledge
Source: Internet
Author: User
Simple application of JavaScript scripting in web pages 1. features of JavaScript scripting
JavaScript scripting is a browser-oriented web scripting language. The script language has the following features:
1. run the command on the client. It runs completely on the user's computer without going through the server.
2. object-oriented. With built-in objects, you can also directly operate on browser objects.
3. dynamic changes. It can respond to user input or directly output to users.
4. easy to use. Although the JavaScript script language is simple, beginners can quickly master it.
5. it can only be used with the HTML language. You need to explain the execution in a browser.
2. how to add JavaScript scripts to HTML
The JavaScript format is as follows:
Place the preceding statement in the HTMLAndAnd can be placed inAnd.
Example: "Hello!" is displayed on the webpage !".
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