js的引用方式
时间:2020-07-30 14:43:01
收藏:0
阅读:80
1,内部引用
js可以在<head>
<script><script>
</head>中引用,
也可以在body中引用
<body>
<script><scipt>
</body>
2,外部引用
<!DOCUTYPE HTML>
<html>
<head>
<meta charest="utf-8">
<script typ="textjava/script" src="a.js"></script>
<title><title>
</head>
<body></body>
</html>
评论(0)