<html> <head> <title>Using the SRC attribute of the script tag.</title> </head> <body> <script language="JavaScript" SRC="src.js"> </script> </body> </html> //File:src.js alert("Hi");