The Web Design Group

noscript - Non-script Content

Syntax <noscript>...</noscript>
Attribute Specifications
Contents Block-level elements, inline elements
Contained in applet, blockquote, body, button, center, dd, del, div, fieldset, form, iframe, ins, li, map, noframes, noscript, object, td, th

The noscript element provides alternate content for a client-side script that was not executed. A script will fail to execute if the browser does not support the scripting language or if the user has disabled client-side scripting. noscript should follow the script element for which it provides alternate content.

Note that most browsers will fail to render the contents of noscript if the scripting language is not supported and the user has enabled client-side scripting. Most browsers will only render noscript when the user has disabled client-side scripting.

Also note that Netscape Navigator 2.x supports JavaScript 1.0 but still renders all noscript content.

Since client-side scripts usually provide dynamic interactivity that cannot be replaced by static content, the noscript element is generally not useful. Authors should try to use client-side scripts as optional enhancements that are not integral components of the Web page. In the case of form validation, any error checking done by the client-side script should be repeated by the CGI script or Java servlet that handles the submission at the server.

More Information