Beginners should start with HTML, not XHTML

There are many more differences between HTML and XHTML than most web developers who use XHTML realise. The differences go beyond just closing all elements, quoting all attribute values, and using lower case for all element and attribute names. Because of the pitfalls involved in using XHTML, Lachlan Hunt claims that XHTML is not for Beginners

I tend to agree. I've seen experienced web developers who know HTML very well have problems getting XHTML right. And that is while serving XHTML as text/html. When you start serving XHTML as application/xhtml+xml things get way more complicated, as Lachlan points out in his article and as I do in The perils of using XHTML properly.

Posted on December 6, 2005 in Quicklinks, (X)HTML