With HTML scripts you can create dynamic web pages, make image rollovers for really cool menu effects, or even validate your HTML form's data before you let the user submit. However, javascript and vbscript are very complicated compared to HTML. It may be simpler just to download someone elses scripting code and use it on your web page (if they have given you permission to do so, of course!).
HTML Javascript Code
If you want to insert javascript code into your HTML you are going to use the script tag. If you would like to know more about javascript, check out our Javascript Tutorial. Below is the correct code to insert embedded javascript code onto your site.HTML Code:
<script type="text/javascript">
<!--script
***Some javascript code should go here***
-->
</script>
HTML Vbscript How To
To insert vbscript code onto your website you must once again make use of the script tag. Below is the correct code to insert vbscript code onto your site.HTML Code:
<script type="text/vbscript">
<!--script
***The vbscript code should go in this spot***
-->
</script>
Tidak ada komentar:
Posting Komentar