tags, you can save it in a separate file and add a
src property to the
<script> tag that tells the browser where to find it, as demonstrated below:
- The external source file name must end with the extension .js.
- The client's browser must be Netscape Navigator 3.
Requirements (1) and (2) are easy to achieve, since you have complete control over the files.
One last note about using the
src property: If you use it, you still need the closing
// Netscape 3 will execute
statements from mycode.js,
but not the statements below.
"This page won't work on your browser.");
"Get Netscape 3!");
history . back ();