晕,注释符号错了<html>
<head>
<title>Using the HEAD for definitions</title>
</head>
<body>
<script language="javascript">
<!--
document.write("Hello World!");
-->
</script>
</body>
</html>
<head>
<title>Using the HEAD for definitions</title>
</head>
<body>
<script language="javascript">
<!--
document.write("Hello World!");
-->
</script>
</body>
</html>
<head>
<title>Using the HEAD for definitions</title>
</head>
<body> <script language="javascript">
//<!-- 注意这里
document.write("Hello World!");
//-->跟这里
</script></body>
</html>
</script>
<script type="text/javascript">
<!--
document.write("Hello World!");
//-->
</script>