Comment by reactordev
Comment by reactordev 2 days ago
Ooooo… now we’re talking. Sloppy HTML that closes a tag out of order or just declared out of order? Or rendering bugs when bold is before italic? It’s why XHTML should have been standard. Just dump, error out, make the developer fix it.
But the problem here is that our nice programmer-brained mental model does not match the actual requirements of text.
Unless you know about tree structures, it doesn’t make sense to the average person why you would have to stop and then restart a span of formatting options just because an unrelated attribute changed.
And that’s why XHTML failed - HTML is human-writable.