HTML noscript tag


Use of the <noscript> tag:
<script type="text/javascript">
document.write("Hello World!")
<noscript>Your browser does not support JavaScript!</noscript>

Definition and Usage

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.

Browser Support

The <noscript> tag is supported in all major browsers.

Differences Between HTML and XHTML


Standard Attributes

id, class, title, style, dir, lang, xml:lang
HTML noscript tag Reviewed by 1000sourcecodes on 20:56 Rating: 5
Powered by Blogger.