script中type属性讲解

  js的代码是由type决定的;

  <script type='javascript'> 默认的

  <script type="text/html" >   就是html文件

  <script type="text/template">  模板文件    模板文件是写在HTML中的   模板中尽量套一层*div,只能有一个;

  for循环 输入到页面或想得到for循环 里面的所有数据用+=      如果只用=for循环只能得到最后的结果;

上一篇:《SQL 进阶教程》 case:练习题1-1-3 用 ORDER BY 指定顺序进行排序


下一篇:nginx实现内网服务唯一端口外网映射