JavaScript study guides.

JavaScript - client-side scripting language

JavaScript is a scripting language belongs to the network!

JavaScript is millions of pages for a series of improvements and more application design, validate forms, detect browsers.

JavaScript learn simple.

What is JavaScript, what can be done

JavaScript provides a programming tool for the HTML designer

HTML creators often not programmers, but it is a JavaScript only has a very simple syntax scripting language! Almost everyone has the ability to short piece of code into their HTML pages of them.

JavaScript can read and write HTML content.

JavaScript can read and rewrite HTML content HTML element content

JavaScript can be used to verify the form data

Before being submitted data channel server, JavaScript can be used to verify the data.

Why learn JavaScript?

1.HTML defines the content of the page

2.CSS describes the layout of the page

Behavior 3.JavaScript pages

Output text in JavaScript

 

<body> 

<h1> My first Web page </ h1> 
<the p-> my first paragraph. </ P> 
<Script> 
document.write (a Date ());
 </ Script> 

</ body>

 

Note: The code is executed from top to bottom beginning, so try to write the script in the body below.

Guess you like

Origin www.cnblogs.com/yong-2000/p/12050609.html