Why is XHTML needed? How does it stand apart on its own from HTML? When HTML has versions 3, 4, and an expected 5, why xhtml on one hand discontinued with version 2 and suddenly shown as part of HTML5 itself http://www.whatwg.org/specs/web-apps/current-work/multipage/the-xhtml-syntax.html#the-xhtml-syntax than separate recommendation?
Share
XHTML is useful because it can be generated and parsed with standard XML libraries. If you don’t need this property, you can use HTML. In HTML 5, it is just an alternative syntax for the same language…
XHTML was not discontinued. XHTML 1.0 (and 1.1) corresponded directly to HTML 4.01. The version of XHTML that corresponds to HTML5 is just called XHTML5 to synchronize the version numbers.
XHTML 2.0 was a discontinued effort at making a completely new document language.