<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>js01_hello</title>
<meta name="author" content="Administrator" />
<!--可以直接在html页面中,在script标签中写相应的js的代码
<script type="text/javascript">
alert("hello world");
</script>-->
<!--可以引入外部文件,通过src来指定外部文件的位置,特别注意不能省略script的结束标记-->
<script type="text/javascript" src="hello.js"></script>
<!-- Date: 2013-01-09 -->
</head>
<body>
</body>
</html>