3 ms·
interesting - which mime/type do you use?
by franze 10y ago
interesting - which mime/type do you use?
- Arnavion 10y agoapplication/xhtml+xml as it's supposed to be, though it's not that I have a choice since Github sets all the headers.
- zodiakzz 10y agoSo you don't? Coz it would be nuts.. I'd wager 90%+ of the 3rd party JavaScript out there will choke on it.
- berns 10y agoYou can use text/html. Technically it wouldn't be an XML resource, but it's correct for HTML5. You can also use an xhtml doctype[1]. And don't forget that the HTML5 namespace is http://www.w3.org/1999/xhtml http://www.w3.org/1999/xhtml! [2] So basically you use your xhtml tools and just publish as HTML5. [1] https://www.w3.org/TR/html5/syntax.html#obsolete-permitted-doctype-string https://www.w3.org/TR/html5/syntax.html#obsolete-permitted-d... [2] https://www.w3.org/TR/html5/infrastructure.html#namespaces https://www.w3.org/TR/html5/infrastructure.html#namespaces