<html> <head> <title> The First Example: Hello, World </title> </head> <body> <h2> This line is HTML </h2> <script language="JavaScript"> <!-- document.write("Hello, World.This sentence is written using JavaScript."); // Text on the right of 2 slashes is comment /* This is comment that occur more than 1 line */ //--> </script> <noscript> Sorry, but your browser doesn't run JavaScript. </noscript> <h2> This line is HTML </h2> </body> </html
全站熱搜