Name

<NOSCRIPT> — NN 3 IE 4 HTML 4

Synopsis

<NOSCRIPT>...</NOSCRIPT>

End Tag: Required

The NOSCRIPT element is intended to display content when a browser is not set to run the scripts embedded in the current document. In practice, the element is observed only starting with Navigator 3 and Internet Explorer 4. When a user disables scripting in a browser, the NOSCRIPT element’s content is rendered wherever it falls in the source code. For older browsers, and those that don’t support scripting, the NOSCRIPT element is ignored completely. Going forward, the HTML 4.0 specification recommends that browsers also render the NOSCRIPT element’s content when scripts earlier in the document are of a language type not supported or enabled in the browser. Also, if an HTML 4.0-compatible browser should be developed that lacks scripting altogether, it, too, should render the NOSCRIPT element’s contents.

All attributes of the NOSCRIPT element were added to support Cascading Style Sheets, internationalization, and events for HTML 4.0.

Example

<NOSCRIPT>
This document contains programming that requires a scriptable browser, such
as Microsoft Internet Explorer or Netscape Navigator. You may not have full
access to this page's powers at this time.
</NOSCRIPT>

Attributes

CLASS

ID

LANG

STYLE

TITLE

DIR

    

Event Handler Attributes

Handler

NN

IE

HTML

onClick

n/a

n/a

4

onDblClick

n/a

n/a

4

onKeyDown

n/a

n/a

4

onKeyPress

n/a

n/a

4

onKeyUp

n/a

n/a

4

onMouseDown

n/a

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.