: 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

External Link

Rocks!

Usage notes

The <noscript> element represents its children differently depending on if scripting is enabled:

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