Answers for "To link an external JavaScript file named myScript.js to an HTML page that is in the same directory as the JavaScript file, what would you use?"

6

how to connect a javascript file to html

<script src="name.js">
	//put in your javascript here
</script>
Posted by: Guest on September-04-2020

Code answers related to "To link an external JavaScript file named myScript.js to an HTML page that is in the same directory as the JavaScript file, what would you use?"

Browse Popular Code Answers by Language