Topic: HTML5 Tags ReferencePrev|Next
<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.
|Content:||Block, inline, and text when it isn't a descendant of the
|Start/End Tag:||Start tag: required, End tag: required|
|Version:||HTML 4, 4.01, 5|
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:
The example below shows the
<noscript> tag in action.
ExampleTry this code »
<noscript> tag doesn't have any specific attribute.
Like all other HTML tags, the
<noscript> tag supports the global attributes in HTML5.
<noscript> tag also supports the event attributes in HTML5.
<noscript> tag is supported in all major modern browsers.
See tutorial on: HTML Scripts.