how to reference a javascript file in html
<script type="text/javascript" src="path/filename.js"></script>
how to reference a javascript file in html
<script type="text/javascript" src="path/filename.js"></script>
script tag to include js file
<script type="text/javascript" src="path-to-javascript-file.js"></script>
Simple example of using external file javascript in html
<html>
<head>
<meta charset="utf-8">
<title>Softhunt.net</title>
</head>
<body>
<form>
<a href="#" onclick="display()">Click Me</a>/>
</form>
<script src="index.js">
</script>
</body>
</html>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us