In this tutorial, we will introduce you about the <noscript> tag.
In this tutorial, we will introduce you about the <noscript> tag.The <noscript> tag is available in both HTML5 and HTML4.01. It tells, that the browser does not support script. The content present in <noscript> tag will be display when script not support by browser. In HTML4.01, the <noscript> tag can be used in body tag. But in HTML5, It can be use in both <head> and <body>.
Declaration Syntax :
|
<!doctype html> <html> <body> <h1>Example of noscript tag!</h1> <script type="text/javascript"> document.write("Bharat Singh"); </script> <noscript>Browser not support javascript.</noscript> </body> </html> |
The noscript tag is available in both HTML5 and HTML4.01. So no difference.