HTML - detect if JavaScript is disabled

4 points
Created by:

In this short article, we would like to show how to detect if JavaScript is disabled / blocked.

Quick solution:

<!doctype html>
    If you see this text it means the JavaScript is disabled.

Where <noscript> content will be displayed only if JavaScript is disabled or not available.


<noscript> message example when JavaScript is disabled.
<noscript> message example when JavaScript is disabled.

Alternative titles

  1. HTML - check if JavaScript is disabled
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂