Articles → HTML → Noscript In HTML
Noscript In HTML
Purpose
Syntax
<noscript>Text to be displayed if script is not enabled or supported</noscript>
Example
<!DOCTYPE html>
<html>
<head>
<title></title>
<script>
document.write("JavaScript is enabled");
</script>
<noscript>JavaScript is not enabled</noscript>
</head>
<body></body>
</html>
Try It
Output
Browser Support
Internet Explorer | Firefox | Chrome | Safari | Opera | Edge |
---|
Yes | Yes | Yes | Yes | Yes | Yes |