HTML Old School

NOSCRIPT tag

Noscript is a container for message text that will be displayed in browser's window if browser don't support javascript or javascript is turned off.

In HTML 4 NOSCRIPT must be inside HEAD tag.

In HTML 5 NOSCRIPT can be inside HEAD or BODY tag.

 

 

<script>
document.write("This is text from JS")
</script>

<noscript>Your browser don't support JavaScript!</noscript>

 

To preview following examples disable JS in your browser:

CHROME : Settings - Show Advanced Settings - Privacy - Content Settings - Don't allow any site to run JS

 

NOSCRIPT inside HEAD tag: 06noscript_head.html

NOSCRIPT inside BODY tag: 06noscript_body.html