Possible Duplicate:
Why don't self-closing script tags work?
I've noticed that you can't slash-terminate a script tag when you specify a "src" and therefore don't require anything between the <script>
and the </script>
. This is the only tag I know of where you can't do that.
For example, this works:
<script type="text/javascript" src="scriptsource.js"></script>
and this doesn't
<script type="text/javascript" src="scriptsource.js" />