: The Noscript element - HTML: HyperText Markup Language | MDN (original) (raw)
Baseline
Widely available
The <noscript>
HTML element defines a section of HTML to be inserted if a script type on the page is unsupported or if scripting is currently turned off in the browser.
Attributes
This element only includes the global attributes.
Examples
<noscript>
<!-- anchor linking to external file -->
<a href="https://www.mozilla.org/">External Link</a>
</noscript>
<p>Rocks!</p>
Result with scripting enabled
Rocks!
Result with scripting disabled
Technical summary
Content categories | Metadata content,flow content,phrasing content. |
---|---|
Permitted content | When scripting is disabled and when it is a descendant of the element: in any order, zero or more elements, zero or more |