How To Use In Your HTML

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
What does How To Use In Your HTML do?
The <noscript> element contains HTML content that will be rendered if a user viewing the webpage does so using a browser that does not support scripts or has disabled scripts.

The noscript element defines a message that is displayed if the browser does not support a defined script. For example, we could use the following example to alert the user that JavaScript is switched off:

<script src="myscript.js" type="text/javascript"></script> <noscript>Please enable JavaScript in your browser.</noscript> 
Claire is seasoned technical writer, editor, and HTML enthusiast. She writes for and runs a content agency, Red Robot Media.

Browser Support for noscript