Home > HTML > No script

No script

The no script tag is used to provide an alternate content for users . A browser doesn’t support client – side scripting ,The no script element can contain all the elements .You can find inside the body element of normal Html page .

<script type=”text/javascript”>
document.write(“Hello World!”)
</script>
<noscript>hello,wel come to the world!</noscript>.

Out put :

Hello World!

wel come to the world!

In this example Hello World,will be displayed in the page.When the browser both supports javascript.If the browser doesn’t support javascript or javascript is turned off then displayed “wel come to the world !.

Categories: HTML
  1. No comments yet.
  1. No trackbacks yet.

Leave a comment