js script

JavaScript
<script type="text/javascript" src="monscript.js"></script><script src="javascript.js"></script>
<script src="javascript.js"></script>/*
There is no actual way to put javascript inside an HTML attribute
But there are some event attribute that can trigger JavaScript 
functions.
Otherwise you have to use <script> tag or external JavaScript
*/
Source

Also in JavaScript: