# noscript

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

## Platform 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
--- | --- | --- | --- | --- | ---
onreadystatechange Fires when the ready state of the element changes. | 4.0+ | no | no | no | no

## Availability

W3C HTML 4.01

text_html aptana_docs