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

import js in html

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

how to link your js file to html

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

script src tag in html

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

link javascript file to html

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

how to link javascript to html

// This is an awesome answer! // This is how you link HTML to your JavaScript! -> Enjoy and Prosper! <script type="text/javascript" src="path-to-javascript-file.js"></script>

html javascript link

Similar Code Examples