摘要:
一直很奇怪 哪种写法更好<script type=“text/javascript”>…</script> or <script>…</script>? 大致解释就是 如果用H5 就不需要加,因为H5默认属性就是text/javascript, 而 HTML 4.01 and XHTML 1.0 规 阅读全文
摘要:
我们平时在页面上写JS 是放在头部<head>中呢 还是放到body 最下面 能更优化? 查了一番资料,推荐 放在页面底部如: WHY? The problem caused by scripts is that they block parallel downloads. The HTTP/1.1 阅读全文