Script tag in XHTML
- by Ben
Hi,
This might sound like a reaaaally dumb question but...
why do browsers have a fit with this syntax:
<script type='text/javascript' src="/path/to/my.js" />
and want this instead
<script type='text/javascript' src="/path/to/my.js"></script>
Seems the first construct should be valid since there's no inner content to the tag..
?