There are two ways of adding JavaScript to a web page.
The first one allows you to add scripts directly to your page.
<script type="text/javascript"> :::scripts::: </script>
The other way is attaching a JavaScript file to your web page like so.
<script type="text/javascript" src="my-javascript-file.js"></script>


Thu, Jul 24, 2008
Code, JavaScript