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.
- Display
- inline
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>
Browser Support for noscript
![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
All | 1 | All | All | All | All |