To start, where does the w3c say the SCRIPT element is supposed to go?? If you read the document in the link, SCRIPT can live in either the HEAD or the BODY elements. So technically, both places are legal.? I am stating this so that no one come back and tells me I?m breaking any fundamental web rules.? If the w3c says it is ok, then it is ok darn it.
But why the bottom of the page??
OK, so let us review.
But how bad is this?
What else should I be doing that I?m not?
Very cogent explanation, but…
type=”text/vbscript”??? Kind of undermines your entire argument right there. 🙂
Ha ha, vbscript and src is .js. I think sombody selling crap!
@Chris and @nemke,
In this article I mention that there are a LOT of bad samples out there. That sample code came from w3c.
It’s about time someone was a champion for this cause! Thank you so much for this post, it is excellent back-up to support an argument I had recently with the dev team at a sizable e-commerce solution provider. /soapbox
The topic is a kind of ‘once-you-know-it-you-know-it-for-sure’, but quite frequently I meet people who haven’t heard about it.
‘except IE6 – that sucker is going to live forever’ – made me laugh and laugh 🙂
Really intelligent piece of writing buddy, keep it up and I will keep tweeting your blog posts for you so you can get the readers you deserve!
Comments are closed.