javascript syntax in html code example
Example: script tag in html
<script>
// Write JS here
</script>
<script src="link/to/js/file.js"></script>
<script>
// Write JS here
</script>
<script src="link/to/js/file.js"></script>