Jump to content
Roger wrote:” ... talk about XHTML as being more strict than HTML. In a sense it is, since it requires well-formedness and quoted attribute values.”
I really don’t mean to nitpick, but, using a strict doctype means that you follow the specification to it’s strictest standard. Using the word “strict” in a comparitive sense, (X)HTML is “strict’er” than HTML only because it requires the coder to write more to accomplish validation, but I don’t think that this is what “strict” really means within a doctype context—it’s not comparative.
Also, it’s a common misconception that HTML isn’t required to be well-formed. The same nesting rules apply—just because you’re not required to close tags does not malformedness make :)
Somewhat off-topic, personally, I agree with the likes of Ann van Kesteren who argue for not using (X)HTML at all unless you’re prepared to serve the Content-Type as application/xhtml+xml.
:) Anyhow, good article! geat site! and keep up to awesome work. I really look forward to the daily posts and I’ve already learned some cool stuff :)