HTML <noscript> (No Script Support Content) Tag

❮ Previous Reference Next ❯

Example

<script>
  document.write("Hello World!")
</script>

<noscript>
  Your browser does not support JavaScript!
</noscript>

Meaning

The <noscript> element is used to specify content that should be rendered on browsers that do not support scripting or that have scripting turned off.

The noscript element content will not be visible if scripting is enabled in the browsers. It is used to present different contents and guide the user on what he should be seeing.

The noscript element is not permitted in XML modes.

If you need to display a message to non-scripting user-agents, consider a “loading” message that gets removed by scripting.

Note: Browsers that don’t support the noscript tag will render the content regardless of whether the javascript is supported.

Version: HTML 4, 4.01, 5


Standard Syntax

<noscript>...</noscript>



Browser Support




Status







Global Attributes

<noscript> element also supports the Global Attributes in HTML.




By Default CSS Value(s)

None.




❮ Previous Reference Next ❯