: The Noscript element - HTML | MDN (original) (raw)
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
Rocks!
Usage notes
The <noscript> element represents its children differently depending on if scripting is enabled:
- If scripting is disabled the
<noscript>element represents its children as HTML content. - If scripting is enabled, the
<noscript>element represents its children as text.
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 |