Change Language


Follow Navioo On Twitter

noscript

Specifies alternative content to display if a client browser does not support scripts.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
3.0+ 2.0+ 1.0+ 4.0+ 1.0+

Example

This example shows a basic <script> element for a JavaScript script and its corresponding <noscript> element :


<script language="type/javascript">
	 <!-- JavaScript script... -->
</script>
<noscript> Your browser does not support JavaScript. </noscript>

Remarks

<noscript> </noscript> currently only displays if a browser does not support any scripting language. It does not distinguish between scripting languages.

Attribute Detail

Attribute IE Netscape Mozilla Opera Safari
class
[class-name]. Example values: header-class, list-element, etc.
CSS class assigned to the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
dir
Direction of the element text.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
id
[element-id]
Unique identifier for the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
lang
[language-code]. Example values: "en" (English), "fr" (French), "es" (Spanish), etc.
Language code for the content of the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
style
[style-name]
Inline style for the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
title
[text-description]
Short text description for the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 

Event Detail

Event IE Netscape Mozilla Opera Safari
Fires when the ready state of the element changes.
4.0+ no no no no
 

Examples -> Source code Demo online - > noscript:

Ajax Javascript feed

↑ Grab this Headline Animator