It is a process of writing java script code outside the web page then it is called as external java script.
Advantages is it enhances the reusability.
Drawback is external java script cannot allow used to take up only specific functions.
<script src=”ext1.js”> </script>
<input type=”button” value=”print me” onclick=”display()”/> </br>