HTML vs. XHTML

 XHTML versus HTML:  What's the difference?  What about HTML 5 ??? 


HTML is a broad general term that represents all versions of HTML.

HTML comes in a few different flavors.  One of them is XHTML 1.0.  This is the most recent version of HTML available today.  XHTML a reformulation and extension of HTML 4.   In other words, XHTML is the updated version of HTML 4. 

XHTML is also a combination of HTML and XML.  Meaning, XHTML is an XML-based markup language.   XML creates well formed documents and requires strict adherence to the rules.

So, XHTML is not only useful today, but its also forward compatible and ready to use with any XML based application.

Instead of describing what XHTML is, let's learn about the problems with it.  Here is a great article that describes the problem with XHTML and why HTML 5 will replace HTML 4.01 and XHTML 1.0.
 

We are now finding that XHTML is not all it's cracked up to be.