HTML CSS Reference/HTML Attributes Reference/src 2
"src" Example
<HTML>
<head><Title>Example For src</Title>
<script language="JavaScript1.2" src="myJSfile.js"></script>
</head>
<BODY>
</BODY>
</HTML>
"src" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<script> |
+----------------+--------------------------------------------------------------+
"src" Syntax and Note
Note:
This attribute is used with the <script> element.
It specifies the URL of an external JavaScript file.
The file specified must contain the appropriate suffix for JavaScript files (.js).
Syntax:
<script src="value"> . . . </script>