The
The <script>
tag is an HTML element used to embed or include an executable script within an (x)HTML document/web-page.
This is almost always client-side javascript.
For example:
<!-- HTML4 and (x)HTML include -->
<script type="text/javascript" src="javascript.js">
<!-- HTML5 include -->
<script src="javascript.js"></script>
<!-- Embed -->
<script type="text/javascript">
//-- Any valid javascript code can go here.
alert ("Hello world!");
</script>
Resources: