noscript

FilterElements

<noscript> ... </noscript>

Provides alternate content when a script cannot be executed. The content of this element may be rendered if the user agent doesn’t support scripting, if scripting support is turned off, or if the browser doesn’t recognize the scripting language.

Notes

noscript is not included in the XML syntax of HTML5 because the element relies on an HTML parser. When noscript appears in the head of a document, it may only contain link, style, and meta elements.

Start/End Tags

Required/Required

Specifications

  • HTML 4.01
  • HTML5
<script type=""/JavaScript">
... script here
</script>
<noscript>
<p>This function requires JavaScript to be enabled.</p>
</noscript>

Rendered Example

Browsers without JavaScript may display the following:

This function requires JavaScript to be enabled.