import js v html
<script type="text/javascript" src="yourfile.js"></script>
jak propojit javascript s html
<script src="PathToYourFile.js"> </script>
odkaz javascript na html
<script src="index.js"> </script>
importovat skript html
<html>
<head>
<script type="text/javascript" src="/path/to/script.js"></script>
...