noscript definition and usage The noscript element is used to define alternative content (text) when scripts are not executed. This tag can be used with browsers that recognize the <script> tag but do not support the script within it. Note: Browsers that do not recognize the <script> tag will display the content of the tag on the page. To prevent browsers from doing this, you should hide your script in comment tags. Older browsers (those that don't recognize <script> tags) will ignore comments and thus not write the tag's contents to the page, while newer browsers will know how to execute scripts even if they are surrounded by comment tags! Global properties The <noscript> tag supports global attributes in HTML. example Copy code The code is as follows:<body> ... ...</p> <p> <script type="text/javascript"> <!-- document.write("Hello World!") //--> </script> <noscript>Your browser does not support javascript!</noscript> ... ... </body> VBScript Copy code The code is as follows:<body> ... ... <script type="text/vbscript"> <!-- document.write("Hello World!") '--> </script> <noscript>Your browser does not support VBScript!</noscript> ... ... </body> |
<<: Details of watch monitoring properties in Vue
>>: Why is the MySQL auto-increment primary key not continuous?
Table of contents 1. What is Docker Compose and h...
This article mainly introduces the analysis of th...
1. Background of the incident: Because of work ne...
We all know that the commonly used positioning me...
When you learn MySQL, you will find that it comes...
Priority The reason why placing the same conditio...
In design work, I often hear designers participati...
Bash Initialization Files Interactive login shell...
Due to the default bridge network, the IP address...
Table of contents 1. Basics of audio playback in ...
Preface Those who have played with MySQL must be ...
Table of contents Overview Checking setTimeout() ...
MySql batch insert optimization Sql execution eff...
Preface: Partitioning is a table design pattern. ...
This article uses an example to describe how to r...