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