The HTML noscript Element

Submitted by:Pitter Alderson

Date added:27 August, 2011


The <noscript> tag is used to provide an alternate content for users that have disabled scripts in their browser or have a browser that doesn’t support client-side scripting.

The noscript element can contain all the elements that you can find inside the body element of a normal HTML page.

The content inside the noscript element will only be displayed if scripts are not supported, or are disabled in the user’s browser:

Tags: noscript element

Code Snippet:

<script type="text/javascript">
document.write("Hello World!")
<noscript>Sorry, your browser does not support JavaScript!</noscript>