Different Ways to Insert a Script
There are several different ways in which to insert a script in JavaScript. These three ways all produce the same result:
<SCRIPT> ... </SCRIPT> tags
Event Handler
Separate File