4 ms·
I know that makes sense, but it feels unsettling and wrong. Where are the good old times of proper XHTML.
by wongarsu 8y ago
I know that makes sense, but it feels unsettling and wrong. Where are the good old times of proper XHTML.
- tannhaeuser 8y agoThey've been superseeded by the even older and better times of SGML ;)
- dannypgh 8y agoHTML and XHTML are different things, and you can have proper documents in either. HTML is a subset of SGML. XML is designed for machines to read and write. SGML, humans. It's like the difference between JSON and Markdown. (Addendum: TIL HTML5 is not parseable as SGML. Because, reasons.)
- marktangotango 8y agoAccording to Firefox, chrome and amusingly not IEs xmlserializers, xhtml tags are case insensitive. The scars oh the scars..:
- bzbarsky 8y agoIf you send XHTML with the XHTML MIME type, the tags are case-sensitive. If you send it as "text/html"... well, then presumably you're relying on XHTML 1.0 Appendix C and letting browsers parse your XHTML as HTML. And HTML is case-insensitive.