Change Font Size: Previous / Next / Directory List
18. Use HTML JAVASCRIPT
JAVASCRIPT client is a scripting language that can help achieve some dynamic HTML functions.
Note: javascript has no relationship with java, is in itself both languages, from the names of almost 10%, mainly due to commercial reasons.
- Javascript client is a scripting language.
- Java is the server-side language. (SUN is the company's products.)
Example
Loading a document javascript
<head> <scriptType="nt22.js" "text/javascript"src=> </ script> </ head>
Example
Nt22.js to direct the content of HTML wrote in the document.
<!--...//--> Markings, in order to avoid the old version of the browser does not support javascript.
"text/javascript"<head> <scriptType=><! - Document. Write ( "nt22 !")//--></ script> </ head>
These two methods is the need to, and recommended the use of a method
Learning JAVASCRIPT Guide
