What content is permitted inside the <noscript> element?

The <noscript> element can contain any content except another <noscript> element.

The <noscript> element can include various types of content such as text, links, and images, but it cannot contain another <noscript> element within it. This restriction ensures that the fallback content is straightforward and does not create nested <noscript> elements, which could lead to confusion or errors in rendering.

<noscript>
  <p>Please enable JavaScript to view this page.</p>
  <a href="https://www.example.com/">Visit our site</a>
</noscript>
More cards8
Show all