HTML and CSS Reference
In-Depth Information
Name
noscript
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. When noscript appears in the head of
a document and scripting is disabled, it may only contain link , style , and meta elements.
Notes
noscript is not to be used in the XML syntax of HTML5 because the element relies on an
HTML parser.
Usage
Categories:
Metadata content, flow content, phrasing content
Permitted contexts:
In a head element if there are no ancestor noscript elements. Where phrasing content is
expected if there are no ancestor noscript elements.
Permitted content:
When scripting is disabled and the element is in a head element, it may contain in any or-
der, zero or more link elements, style elements, and/or meta elements. When scripting
is disabled and it is not in a head element, it is transparent (content model is derived from
parent element) but it must not contain any noscript elements. Otherwise, it may have
text content.
Start/end tags:
Required/Required
Search WWH ::




Custom Search