Hacker News new | past | comments | ask | show | jobs | submit login

The reason why people served XHTML as text/html was that Microsoft Internet Explorer didn't recognize application/xhtml+xml.

https://hixie.ch/advocacy/xhtml https://www.w3.org/2003/01/xhtml-mimetype/




I serve it because my PDF library only supports XHTML and I'm not going to have twice as much HTML just to add a / to br tags.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: