when you're referring to external javascript files, is there any benefit to this:
over this?
because both validate, but the former makes certain browsers (*cough* IE5/Mac *cough*) totally soil themselves. is there any reason i wouldn't want to use the second format?
Code:
<script src="foo.js" type="text/javascript" />
Code:
<script src="foo.js" type="text/javascript"></script>
because both validate, but the former makes certain browsers (*cough* IE5/Mac *cough*) totally soil themselves. is there any reason i wouldn't want to use the second format?