how to add javascript in html

JavaScript
<script src="script.js"></script><script src¨script.js¨></script>
Source

Also in JavaScript: