HTML5 and HTML/XHTML

The HTML5 standard defines both these syntaxes. The MIME type (sent in the HTTP Content-Type header) indicates the choice of syntax: for XHTML the MIME type will be application/xhtml+xml, otherwise text/html.

Back to Technology Glossary