how to attach javascript to html

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

Also in JavaScript: