ways you include Javascript code in HTML document code example
Example 1: how to put javascript in HTML
<script>
//put your java script here
</script>
Example 2: include javascript in html
<script>
// JS Here
</script>
<script>
//put your java script here
</script>
<script>
// JS Here
</script>