What is the use of <noscript> tag in HTML?

 Posted by Pgayath on 9/21/2012 | Category: HTML 5 Interview questions | Views: 3154 | Points: 40
Answer:

The <noscript> tag is used to display some text to the user when the Java script is not supported by the browsers.

Example:
<html>

<body>
<script type="text/javascript">
document.write("Hello World!")
</script>
<noscript>Sorry, your browser does not support JavaScript!</noscript>
</body>
</html>


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response