HTML Tag Reference - HTML tag <noscript>








This <noscript> element displays message when:

  • the browser does not support Javascript
  • or the JavaScript functionality has been turned off.

Browser compatibility

<noscript> Yes Yes Yes Yes Yes




What's new in HTML5

In HTML 4.01, the <noscript> tag can only be used inside the <body> element.

In HTML5, the <noscript> tag can be used both inside <head> and <body>.

Default CSS Settings

None.

Example

A demo showing how to use <noscript> tag.

<html>
<head>
<script language="JavaScript">
<!--from   ww  w. j  a  v a2  s.  c o m-->
     function name() {
          commands
     }

</script>
<noscript>Your browser doesn't support script codes.</noscript>
</head>
<body>
</body>
</html>

Click to view the demo