Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If XHTML was literally just HTML but with XML syntax, it would be pretty cool.


That's exactly what it was, though - HTML 4.01 Strict but with XML syntax.


isn't it what XHTML5 is, more or less?


It is.


XHTML 1.0 was, and they evolved it incompatibly.


There was an ill-advised XHtml 2.0 project which was supposed to be incompatible, but it was abandoned. Currently xhtml is defined as an alternative “serialization” of html, but the semantics are exactly the same as html.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: