In this article we are going to explain what is <noscript> tag in html or why use noscript tag in HTML or how to use noscript element in html with example.


The HTML <noscript> tag defines alternate text or HTML to be inserted if a script type is not supported or if the browser has disabled scripting. This tag is also commonly referred to as the <noscript> element.


HTML <noscript> Tag Syntax:

    //write alternate html or text here  



          Ø  The HTML <noscript> element is found either within the <head> tag or the <body>         tag. 

          Ø  The <noscript> tag will display alternate HTML content if the script type is not            supported or if the browser has scripting disabled.

          Ø  If the scripting is enabled on the browser, the <noscript> tag will not display content         on the page.

Example of HTML noscript code

<!DOCTYPE html>
    <title>This is the example of noscript tag</title>     
    <script type="text/JavaScript">
        document.write("Hello !")
    <noscript>Sorry! Your browser does not support JavaScript.!</noscript>



  use noscript tag in html with example

I hope this article will help to you after reading.

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.

You may also like