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>
For javascript you set the type
attribute equal to "text/javascript", which is similar to the process
of specifying CSS. We also
include a comment around the javascript code. This will prevent browsers that
do not support javascript or have had javascript disabled from displaying the
javascript code in the web browser.
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>
For vbscript you set the type
attribute equal to "text/vbscript", which is similar to specifying
CSS. We also include a comment around
the vbscript code. This will prevent browsers that do not support vbscript or
have had vbscript disabled from displaying the vbscript code in the web
browser.
https://www.welookups.com/js/default.html
BalasHapus