Please note, this is a STATIC archive of website from 10 Sep 2022, does not collect or store any user information, there is no "phishing" involved.

HTML <noscript> Tag

Topic: HTML5 Tags ReferencePrev|Next


The <noscript> tag is used to provide an alternate content for users that have disabled scripts in their browser or the browser doesn't recognize the scripting language, or have a browser that doesn't support client-side scripting.

The following table summarizes the usages context and the version history of this tag.

Placement: Block
Content: Block, inline, and text when it isn't a descendant of the <head> element; Otherwise <link>, <style>, and <meta> elements.
Start/End Tag: Start tag: required, End tag: required
Version: HTML 4, 4.01, 5

Usage Notes

The content inside the <noscript> element will only be displayed by a browser if:

  • The browser is configured not to evaluate scripts.
  • The browser doesn't support the scripting language invoked by a <script> element earlier in the document.
  • Or, the browser doesn't support client-side scripts.


The basic syntax of the <noscript> tag is given with:

HTML / XHTML: <noscript> ... </noscript>

The example below shows the <noscript> tag in action.

    document.write("Hello World!")
<noscript>Your browser does not support JavaScript!</noscript>

Tag-Specific Attributes

The <noscript> tag doesn't have any specific attribute.

Global Attributes

Like all other HTML tags, the <noscript> tag supports the global attributes in HTML5.

Event Attributes

The <noscript> tag also supports the event attributes in HTML5.

Browser Compatibility

The <noscript> tag is supported in all major modern browsers.

Browsers Icon

Basic Support—

  • Firefox 1+
  • Google Chrome 1+
  • Internet Explorer 3+
  • Apple Safari 1+
  • Opera 4+

Further Reading

See tutorial on: HTML Scripts.

Related tag: <script>.

Bootstrap UI Design Templates