JavaScript基础之引用外部JS文件

JavaScript基础之引用外部JS文件

代码:

<html>
<head>
<title>Title of Document</title>

<script src="path-to-file/fileName.js"></script>

</head>
<body>

The content of
your page goes here.

</body>
</html>

你可能感兴趣的:(JavaScript基础之引用外部JS文件)