Name

noscript — HTML 4.01 | HTML5

Synopsis

<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

Attributes

Core, Internationalization, Events, HTML5 Global Attributes

Example

<script type="text/JavaScript">
... script here
</script>
<noscript>
<p>This function requires JavaScript to be enabled.</p>
</noscript>

Get HTML & XHTML Pocket Reference, 4th Edition 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.