javascript放置位置推介

 1 <!DOCTYPE html>
 2 <html>
 3   <head>
 4     <meta charset="UTF-8" />
 5         <!-- 需要引用到的外部javaScript文件 -->
 6     <title>Javascript位置推介</title>
 7     
 8          <!-- 在</head>前放置函数和闭包 -->
 9   </head>
10           <!-- 放置全局变量及将其初始化 -->
11   <body>
12       
13           <!-- 放置程序实际执行的代码 -->
14   </body>
15 </html>
原文地址:https://www.cnblogs.com/yzdqxing/p/4178905.html