You should place JavaScript (.js) files in a subdirectory of the Web server root directory. Then you can reference the relative path in the SRC attribute of the <SCRIPT> tag.
For example, if the JavaScript file, myscript.js, is in a subdirectory of the Web server root directory called javascript, the <SCRIPT> tag might look like the following: