importovať js v html
<script type="text/javascript" src="yourfile.js"></script>
zahrnúť skript v html
<script type="text/javascript" src="/path/to/script.js"></script>
ako prepojiť súbor js s html
<script src="index.js"></script>
ako prepojiť javascript s html
<script src="PathToYourFile.js"> </script>
prepojiť javascript s html
<script src="index.js"> </script>
importovať skript html
<html>
<head>
<script type="text/javascript" src="/path/to/script.js"></script>
...
NU
<html>
<head>
<script type="text/javascript" src="/path/to/script.js"></script>
...