The programming of the scripting language provided by JavaScript is very similar to that provided by C ++. It only removes common errors such as pointers in the C language and provides a powerful class library. for people who already have C ++ or C, it is very easy and pleasant to learn the JavaScript scripting language. 1. JavaScript code is included in HTML, which is part of the HTML document. combined with HTML tags, it forms a powerful Internet programming language. you can directly add JavaScript scripts to the document: script language = "JavaScript"> JavaScript language code ;.... /script> Description: Mark the script>... </script> indicates that the source code of the javascript script will be placed in it. the attribute Language = "JavaScript" is used to describe the Language used in the logo. Here, it is objective C. Indicates the language used in JavaScript. the following is an example of adding a JavaScript script to a Web document: Test2.html html> head> script language = "JavaScript"> document. write ("this is a network school"); document. close ();/script>/head>/html> call test2.html in the browser window to display the string "this is a network school. see figure 2. figure 2 Description: Document. write () is the output function of the document Object. Its function is to output the characters or variable values in brackets to the window. document. close () is to close the output. script>... </script> MARK into head> ..