Use of the <noscript> tag


SUBMITTED BY: lakben

DATE: July 13, 2017, 7:53 p.m.

FORMAT: HTML

SIZE: 342 Bytes

HITS: 3034

  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4. <p id="demo"></p>
  5. <script>
  6. document.getElementById("demo").innerHTML = "Hello JavaScript!";
  7. </script>
  8. <noscript>Sorry, your browser does not support JavaScript!</noscript>
  9. <p>A browser without support for JavaScript will show the text written inside the noscript element.</p>
  10. </body>
  11. </html>

comments powered by Disqus