<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
   <title>Internal/External Script Test</title>

      <script src='internal-external-test.js' type='text/javascript'>
         alert("internal script");
      </script>


</head>

<body bgcolor="#ffffff">

   <h1>Internal/External Script Test</h1>

   <p>
      This is a test of current browsers to see if they allow the same script block to have both an external reference and child script content that executes. If you see an alert box with the words "internal script", this means that it defaults to the child contents; if you see an alert box with the words "external script", this means that it defaults to the external reference; if you see both, this means that it allows both to execute.
   </p>

   <p>
      Here is the code:
      <code>
         <pre>
            &lt;script src='internal-external-test.js' type='text/javascript'&gt;
               alert("internal script");
            &lt;/script&gt;
         </pre>
      </code>
   </p>


</body>
</html>