Friday, 9 August 2013

HTML noscript Tag

Introduction:

The HTML noscript tag is used for providing alternative content for browsers that don't support javascript or other scripting languages.
This element is used in conjunction with the <script> tag.

Example:
<script  language="javascript" type="text/javascript">
  document.write('Disable your JavaScript then reload this page');
</script>
<noscript>
  Your browser doesn't support JavaScript or you 
  have disabled JavaScript. Therefore, here's 
  alternative content...
</noscript>


No comments:

Post a Comment