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?
Detailed explanation of Java calling ffmpeg to co...
Table of contents Preface What are enums in TypeS...
Question. In the mobile shopping mall system, we ...
#!/bin/bash #Download SVN yum -y install subversi...
This article mainly introduces the solution to th...
This article example shares the specific code of ...
This article shares 3 methods to achieve the spec...
Use CSS to modify the browser scroll bar style ::...
Table of contents Two ways to solve the problem o...
1. Basic Environment 1. Operating system: CentOS ...
Table of contents View Disk Usage Disk Cleanup (D...
1 Check whether the kernel has a tun module modin...
Table of contents 1. Overview 1.1 What is strict ...
This article example shares the specific code of ...
Table of contents 1. MySQL time type 2. Check the...