|
|
HTML Script
HTML Script
The
<script> element is used to load client-side scripts into the users browser. Theoretically, these could be scripts in any language, however only JavaScript is widely supported (VBScript used to be commonly used but is Internet Explorer only). Client-side scripts are very powerful: they can used for anything from simple rollover menus to powering games written using only JavaScript and CSS. To load script into the users browser use:<!-- For embedded scripts --> <script type="text/javascript"> <!-- Script goes here --> </script> <!-- For scripts stored in a file --> <script type="text/javascript" src="/path/to/file.js"></script>
If you want to know more about using JavaScript, have a look at our JavaScript Tutorials
Page Responses
Currently there have been no responses to this page...
If you have anything to contribute to this tutorial, found a bug, or know a better way of achieving the same goal, please leave your response below.
|