Noscript Element



Noscript element is used to display a message informing that the "Javascript" has been disabled by the browser.
<!--Content--> <script type="text/javascript"> document.write("Text") </script> <noscript>Text</noscript>

Example Code:

Result :

  • It must be placed inside the <body>.
  • If the "Javascript" is disabled in a browser, then the alert message (Javascript is disabled in this browser) will be displayed to inform the user.
It is available in previous versions of the HTML.
It supports Global Attributes in HTML5.


It is applicable to all the browsers.

Ask Questions

Ask Question