Вызов файла JavaScript в HTML
<script type="text/javascript" src="yourfile.js"></script>
SteDeus
<script type="text/javascript" src="yourfile.js"></script>
<script type="text/javascript" src="/path/to/script.js"></script>
<script src="index.js"></script>
<script type="text/javascript" src="path-to-javascript-file.js"></script>
<script src = "index.js"></script>
<script src="name.js">
//put in your javascript here
</script>