Skip to content
Related Articles
Open in App
Not now

Related Articles

HTML <noscript> Tag

Improve Article
Save Article
Like Article
  • Difficulty Level : Basic
  • Last Updated : 26 Jul, 2022
Improve Article
Save Article
Like Article

The <noscript> tag in HTML is used to display the text for those browsers which does not support script tag or the browsers disable the script by the user. This tag is used in both <head> and <body> tag.

Note: This tag is used in those browsers only which does not support scripts.

Syntax:  

<noscript> Contents... </noscript>

Below example illustrates the <noscript> tag in HTML:

Example: 

HTML




<html>
 
<body>
    <h1>GeeksforGeeks</h1>
    <h2>HTML noscript Tag</h2>
    <script>
        document.write("GeeksforGeeks!")
    </script>
    <!-- noscript tag starts -->
    <noscript>A computer science portal</noscript>
    <!-- noscript tag ends -->
 
</body>
 
</html>


Output: 

Supported Browsers: 

  • Google Chrome
  • Edge 12
  • Internet Explorer
  • Firefox 1
  • Opera
  • Safari
My Personal Notes arrow_drop_up
Like Article
Save Article
Related Articles

Start Your Coding Journey Now!