HTML noscript tag

Html <noscript> tag executes itself when scripting language is not supported in a browser.

Example

<noscript>
<p>This browser does not support scripting language.</p>
</noscript>
Try </>

If the browser shows popup on pressing the button, then it means browser supports scripting language.

If the browser shows text which is inside the noscript element, then it means the browser does not support script.

noscript tag may also be placed in the head element. It presents different markup depending upon whether it supports script or not.

Tag omission

Both starting and ending tags are necessary for the noscript element.

Global Attributes

All the global attributes are applicable on the noscript element.



Was this article helpful?

 

Email:

Message:

Get the newsletter