2015年3月12日 星期四

http://taiwantc.com/js/js_tut_a1.htm
http://docs.oracle.com/javase/tutorial/getStarted/cupojava/win32.html
<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>



沒有留言:

張貼留言