noscript

NoScript

Many users block Javascript execution in broweser.

<noscript? tag specify what to display if javascript is disabled in user browser. use Javascript in HTML page - you can specify the <script> tag.

You can provide javascript in same file using script tag or you can  refer to  javascript written in external file. To specify external file you will use "src" attribute of script tag.

The common scenarios of javascript usage is - displaying slide show, image/text changes.


HTML noscript Syntax

< noscript>Content here</noscript>


Sample Code

<script>
document.write("My Javascript got executed!")
< /script>
< noscript>Sorry, your browser does not support JavaScript!</noscript>

 

 






em-vs-i    Missing-slash    noscript    strong-vs-bold    target-top    XML   

Advertisement

Topics