There are four popular scripts that are commonly used in HTML to make web pages come alive. HTML javascript and HTML vbscript are useful scripting languages to know, if you have the time.
With HTML scripts you can generate dynamic web pages, make picture rollovers for chilled menu effects, or even validate your HTML form's information before you let the user submit. However, javascript and vbscript are complicated compared to HTML. It may be simpler to download somebody elses scripting code and use it on your web page (if they have given you permission to do so, of work!).
HTML with Javascript Code
If you need to insert JavaScript code into your HTML code to use the script tag. To learn more about JavaScript, check out our JavaScript Tutorial. Below is the correct code to insert the JavaScript code embedded on your site.
HTML Code:
| <script type="text/javascript"> <!--script ***Some javascript code should go here*** --> </script> |
To configure the javascript attribute type equal to "text / javascript", which is similar to the technique of the CSS specification. They also include a review of all the JavaScript code. This prevents browsers that do not support JavaScript or JavaScript has been disabled to show the JavaScript on the World Wide Web browser.
HTML with Vbscript
To insert the VBScript code in your website must once again use the script tag. Below is the correct code to insert the VBScript code in place.
HTML Code:
<script type="text/vbscript"> <!--script ***The vbscript code should go in this spot*** --> </script> |
VBScript to set the type attribute equal to "text / vbscript", which is similar to the CSS specification. They also include a review of all the VBScript code. This will prevent browsers that do not support VBScript disabled or have VBScript that shows the VBScript code in the web browser.
0 comments:
Post a Comment