<HTML> <HEAD> <Title>Sample Program Two</title> </HEAD> <BODY TEXT="#000000" link="000000" VLINK="#000000" BACKGROUND="background.jpg"> <FONT FACE="ARIAL"> <CENTER><TABLE WIDTH="79%"> <TR> <TD> <CENTER><H2><FONT FACE="Arial"><FONT COLOR="#C100C1"><FONT SIZE=+4> A Sample Program</FONT></FONT></FONT></H2></CENTER> </TD> </TR> </TABLE></CENTER><h3><p> <center><h2><font size=+4>Hello!</h2></center><br><p></font> <SCRIPT> //This program will accept input from the screen, save it as a //variable, and then write the material back to the screen reader = prompt("Please tell me your name", "") document.write ("<dl><H1>Welcome " + reader + "</H2><h3><dd><B>We are glad to see you ...</B></dl><HR>") </SCRIPT><p> <center> <h1>Welcome to our Web Page!</h1> </center> <P><hr><p> <h5><dd><script> //Always begin your Javascript component with the key word script //Always document your programs! // // This part of the program prints out the location where the page is actually put. // where = document.location document.write('<i>URL:</i>' + where) // Always end your Javascript component with the key word /script. </script> <dd>Page Owner: <a href="http://www.umsl.edu/~sauter/">Professor Sauter</a> (<a href="mailto:Vicki_Sauter@umsl.edu">Vicki.Sauter@umsl.edu</a>)<br> <dd><SCRIPT LANGUAGE = "JavaScript"> when = document.lastModified document.write("Last Modified: " + when) </script></dl> </BODY> </HTML>