HTML “ < noscript > “ tag-when the browser does not support JavaScript
The <noscript> tag is used to display some messages to the user when the browser does not support JavaScript or the user manually disables JavaScript execution.
Usage example:
<noscript>
<p>此網頁需要支援 JavaScript 才能正確運行,請先至你的瀏覽器設定中開啟 JavaScript。</p>
</noscript>
The content in <noscript> will be displayed on the user's screen when the browser is in the following two situations:
- The browser does not support JavaScript
- JavaScript is forbidden to execute by the user (or other plug-ins)
On the contrary, browsers that normally support JavaScript will skip and ignore the content in <noscript>.
Post a Comment
0 Comments