Make your own free website on Tripod.com

~Chao Li~

~Kumo no Mukou, Yakusoku no Basho~

 
~~~~

<html>
<head>
<title>Document Mehtods</title>
<script>
//Document Methods
//Chao Li. October 25, 2007.
//Demonstrates writing to the document

var userName = prompt ("Hi! What's your name?");
</script>
</head>

<body>
<center><center>
<h1>Document Mehtods<br></h1>
</center>
<h3>

<script>
document.write("Welcome, ");
document.write(userName);
document.write("!!");
document.close();
</script>

</h3>
<hr>
</body>
</html>

 
 
 
~~~~