Back to Scripts page
Click in the box below, select all and copy to grab the script
<HTML> <HEAD> <TITLE>My first script</TITLE> </HEAD> <BODY BGCOLOR=WHITE> <H1><SCRIPT> <!-- Hide script from older browsers // This script copyright 1997, Tom Negrino and Dori Smith. // This script is from "JavaScript for the WWW, Visual QuickStart Guide, 2nd Ed." // For more information, see <http://www.chalcedony.com/javascript/>. // This script may be used and modified, but the copyright notice must remain intact. /* This is an example of a long JavaScript comment. Note the characters at the beginning and ending of the comment. This script adds the words "Hello, world!" into the body area of the HTML page. */ document.write("Hello, world!") // End hiding script from older browsers --> </SCRIPT></H1> </BODY> </HTML>