<script type="text/javascript" src="xyz.js"/>
<script type="text/javascript" src="abc.js"/>
This works in Firefox, but not in IE.
However the very similar (and logically identical):
<script type="text/javascript" src="xyz.js"></script>
<script type="text/javascript" src="abc.js"/>
Is fine in IE.
Which is nice.
<script type="text/javascript" src="abc.js"/>
This works in Firefox, but not in IE.
However the very similar (and logically identical):
<script type="text/javascript" src="xyz.js"></script>
<script type="text/javascript" src="abc.js"/>
Is fine in IE.
Which is nice.
From:
no subject
From:
no subject
There's a Content-Type text/html meta tag.
Besides, it's not that important, I just find it irritating that IE won't allow me to use the neater syntax all of the time whereas Firefox will....
From:
no subject
So if you get yourself a doctype, you may/will find that IE will be happy with the syntax.
Additionally, it's a good idea to do the tag with a space before the closing like .