noscript 指网页禁止脚本的时候,显示的代码,比如:
<p>nice to meet you!</p>
<script>
document.write("Hello World!")
</script>
<noscript>Your browser does not support JavaScript!</noscript>
正常是时候上面的代码会显示:
nice to meet you!
Hello World!
当网页禁止脚本的时候会显示:
nice to meet you!
Your browser does not support JavaScript!
<p>nice to meet you!</p>
是一段普通的代码,所以网页禁不禁止脚本都会显示