example script tag
Example 1: js script
<script src="javascript.js"></script>
Example 2: what is the use of script tag in html
<script>
//Insert JS scripts here
var html
html = "You can use the <script> tag to incorporate JS code into your HTML code"
console.log(html)
</script>