XTML vs. HTML

chrishirst

Well-Known Member
Staff member
Aaaah, I was being somewhat sardonic regarding M$ Windows cack-handed handling of templates for creating files so the irony of it was lost on me :)
 

Edge

Member
Tell you what - we're getting through the dictionary today - now I've just had to look up sardonic... :)
 
HTML5 has two parsing modes or syntaxes: HTML and XML. The difference depends on whether the document is served with a Content-type: text/html header or a Content-type: application/xml+xhtml header.
 

chrishirst

Well-Known Member
Staff member
HTML is SGML-based while XHTML is XML-based.
WRONG!!!

XHTML is a document type declaration ( DTD ) to be used when transforming machine readable XML into markup language (HTML) that a browser can render into human readable text and images, it is STILL a subset of SGML by the virtue of XML being a restrictive subset of SGML.

You guys should really learn the difference between a language and a document specification.
 
Top