Quote:
|
Originally Posted by Greg Marra
Code:
<img height=500> is wrong.
<img height="500"> is correct.
|
Technically what she has done is legal. Until XHTML, all HTML documents allowed unquoted values... but only if they were numbers only. (Thus, height=100% would be wrong...)
But then again, no doctype has been specified, so we can't really say much about that to begin with. On a side note, if you are nitpicking on the height=500 thing, you should also point out that under XHTML, elements are lowercase and need to always be properly closed (<img /> as opposed to <img> and so on)
I'll stop my geekery here.