Comment by chrismorgan
1 day ago
> Honestly I'm disappointed the promised XHTML5 never materialized along side HTML5. I guess it just lost steam.
The HTML Standard supports two syntaxes, HTML and XML. All browsers support XML syntax just fine—always have, and probably always will. Serve your file as application/xhtml+xml, and go ham.
There was even a polyglot (X)HTML 5 which I always found genius - there are many more XML parsers than HTML5 parsers in the world.
https://www.w3.org/TR/html-polyglot/