Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/myscript/public_html/classes/classdb.php on line 42
<noscript> Element | Basic Root Elements | HTML5 Tutorial | Example

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