<noscript> Tag in HTML

In this article i am going to explain about noscript tag in HTML
  • 1316

Definition

<noscript> tag can inform the user that your browser cannot support JavaScript. <noscript> tag is ignored if the browser can support JavaScript.

Content in <noscript> tag will be displayed only if script does not supported.

Supporting Browsers

Internet Explorer, Mozilla Firefox, Google Chrome, Safari and Opera are the supporting browsers.

Example
 

<html>
<head>
    <title></title>
</head>
<body>
    <script language="JavaScript">
        document.write("using JavaScript");
    </script>
    <noscript>
        Browser does not support JavaScript</noscript>
</body>
</html>

Output

noscri1.jpg

Further Readings

You may also want to read these related articles

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2020 DotNetHeaven. All rights reserved.