noscript tag
snippet in html

what does noscript tag do


The <noscript> tag defines an alternate content to be displayed to users that have disabled scripts in their browser or have a browser that doesn't support script. The <noscript> element can be used in both <head> and <body>.

noscript tag


<!--noscript is alternate content for people with scripts disabled in their browser-->
  <noscript><style>h1{color:red;}</style></noscript><!--noscript in <head> can only have <link>, <style>, or <meta> elements-->
  <script>document.body.innerHTML += "Hello, World!"</script>
  <noscript>You do not have JavaScript enabled in your browser.</noscript>