noscript的作用简单介绍
此标签在很多时候完全没有必要.这里做一下简单介绍,知道它的作用也就知道它到底该不该使用了。 <noscript>标签可以用于支持<script>但是不支持其中代码的浏览器。 如果浏览器支持<script></script>之间的代码,那么就会渲染<noscript>标签中的内容,如果不支持,那么就会显示此标签中的内容。 代码如下: 01 02 03 04 05 06 07 08 09 10 11 12 <!DOCTYPE html> < html > < head > < meta charset = "utf-8" > < meta name = "author" content = "http://www.softwhy.com/" /> < title >蚂蚁部落</ title > < script type = "text/javascript" > document.write("蚂蚁部落") </ script ...