- <script> tag is a HTML tag that allows us to add and define scripts to our HTML file.
- In HTML4, we needed to define type characteristic while using script tag; but with HTML5, this is no longer a necessity.
HTML script tag
<script> alert("Hello World"); </script>
In the example below, an externally created custom.js file is introduced to the html file using the script tag.
484200cookie-checkHTML script tag