Alternate Information for Older Browsers
You can also provide alternative info for users whose browsers don't support scripts (and for users who have disabled scripts). You do this using the
<noscript> tag.
HTML Code:
<script type="text/javascript">
<-- Hide from older browsers
alert("I am a script. I ran first!")
Unhide -->
</script>
<noscript>
You need JavaScript enabled to view this page.
</noscript>
No comments:
Post a Comment