where does script come in html code example
Example 1: where is the correct place to insert a javascript
You can place any script in the <body>, or in the <head> section.
Example 2: how to use script tag
<script>
document.getElementById("id").innerText = ("");
</script>