@alexandra At one point in my history of being a web developer, I would have agreed with you. The problem is that browser makers didn't like that malformed content was *supposed* to fail spectacularly.
Basically, they had to account for the fact that content authors were going to be idiots and that quirks mode was more like default mode.
@email@example.com This argument can go either way obviously, but, "my" side goes, content authors wouldn't be able to (unknowingly) be idiots if the browser they were testing with rejected malformed content. It's a self-perpetuating problem. Browsers accepting malformed content allows malformed content to be published without noticing it's wrong, which makes it harder for browsers to go without accepting malformed content.
XHTML was supposed to make a clean break by allowing browsers to know for sure whether something was possibly wobbly or whether they should insist on correctness, and by the same token allowing authors to know for sure their content would be interpreted either consistently and sensibly or not at all.
XHTML2 was meant to be another level of improvement by using XML tools (e.g. XLink) to make HTML semantically stronger and reduce the amount of scripting needed to implement useful dynamic content.
@nathand @alexandra i don’t think the problem with html has ever been malformed content. in fact, i can tell you from my experience with maintaining rss feeds that xml can become malformed very easily and accidentally in situations where there’s a templated generator. you might suggest that xml be generated with an xml aware parser/generator but these also tend to be extremely slow complicated and full of bugs- to the point you’re better off with the templates.
@nathand @alexandra the problem with html and its complexity is really browser tolerance of elements being permitted and tolerated to nest into any context. a form can wrap a whole page. divs can wrap anything. you are not supposed to, but you can wrap <a> around anything. you can stick an iframe , style, script or an object anywhere without restriction.
Revel in the marvels of the universe. We are a collective of forward-thinking individuals who strive to better ourselves and our surroundings through constant creation. We express ourselves through music, art, games, and writing. We also put great value in play. A warm welcome to any like-minded people who feel these ideals resonate with them.