HTML Tags
HTML <noscript> Tag
The <noscript> tag defines content to display when the browser has JavaScript disabled or does not support it.
What is the <noscript> tag?
The <noscript> element provides fallback content for users whose browsers do not run scripts. If JavaScript is enabled and supported, the browser ignores the contents of <noscript>. If scripting is off, the contents are rendered normally.
It can be used inside both the <head> and the <body>. When placed in the <head>, it may only contain <link>, <style>, and <meta> elements.
Complete example
<!DOCTYPE html>
<html lang="en">
<body>
<script>
document.write("JavaScript is enabled.");
</script>
<noscript>
<p>Please enable JavaScript to use all features of this site.</p>
</noscript>
</body>
</html>The <noscript> tag has no special attributes of its own; it only supports the global attributes.
The <noscript> tag is supported in all major browsers. Use it to provide a graceful degradation message rather than leaving script-dependent areas blank.
