link javascript to html
snippet in html

import js in html

user3724

<script type="text/javascript" src="yourfile.js"></script>

how to link css to html

user3269

  <link rel="stylesheet" href="styles.css">

how to link your js file to html

user936

<script src="index.js"></script>

include script in html

user3401

<script type="text/javascript" src="/path/to/script.js"></script>

link javascript to html

user3132

<script src="index.js"> </script>

link javascript to html

user8580

<script src="index.js"> </script>