Full width home advertisement

Welcome Home


Post Page Advertisement [Top]


Hiding script from older browser can be needed or useful for some older browsers that do not understand JavaScript or VBScript, so that these browsers won’t print the script code as a normal text element. 

If a browser doesn't support JavaScript or VBScript, instead of executing your script, it would display the code to the user as a normal text element. To avoid this, you can simply place the script code inside HTML comments:.

JavaScript Example:

<script type="js/JavaScript">

<!--

document.write("Hello JavaScript!");

//-->

</script>


VBScript Example:

<script type="vbs/vbscript">

<!--

document.write("Hello VBScript!")

'-->

</script>

2 comments:

  1. IEEE Final Year Project centers make amazing deep learning final year projects ideas for final year students Final Year Projects for CSE to training and develop their deep learning experience and talents.

    IEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation.

    corporate training in chennai corporate training in chennai

    corporate training companies in india corporate training companies in india

    corporate training companies in chennai corporate training companies in chennai

    I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai Project Centers in Chennai

    ReplyDelete

Bottom Ad [Post Page]