Remix.run Logo
int_19h 11 hours ago

I don't like HTML5 and to this day I don't understand what was actually gained by dropping XHTML.

tommica 11 hours ago | parent | next [-]

Not having the page break because of a small mistake. Though I did get pretty good at writing XHTML, and strictness is a blessing in certain cases.

int_19h 8 hours ago | parent [-]

Fail fast is a feature, not a bug. It's much better to get clear and actionable feedback rather than the page silently rendering incorrectly in some subtle manner.

kccqzy 11 hours ago | parent | prev [-]

XHTML was dropped because it wasn’t backwards compatible, and it was too strict in its syntax. Minor syntax errors that could be automatically corrected by the browser turned into full page errors.

notnullorvoid 10 hours ago | parent [-]

Meanwhile valid XHTML like having custom elements as table children, in HTML gets silently "corrected" to an malformed document.

I'd much rather have the stricter syntax parsing of XML, vs the complex and outdated structural correction rules of HTML.