title: Close HTML Script Tag
body: <p>I just curious why my JavaScript can't run (tested in Firefox and IE) if I write the <code>&lt;script&gt;</code> tag like this:</p>
  
  <pre><code>&lt;script type="text/javascript" src="script.js"/&gt;
  </code></pre>
  
  <p>It will work if I change that line to:</p>
  
  <pre><code>&lt;script type="text/javascript" src="script.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>So my question is: why I can't close the <code>script</code> tag in the start tag since I don't have any content inside it.</p>
  
  <p>My JavaScript code is simple, just:</p>
  
  <pre><code>alert("test");
  </code></pre>
  
  <p>Notes: I check firefox error console and no error.</p>