I haven't had enough bad tech opinions recently

HTML should have been killed and replaced with XHTML and most problems with the Web nowadays can be traced back to the failure of the XHTML2 development process and the creation of WHATWG and HTML5

@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.

@nathand@fosstodon.org 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.

@alexandra that is absolutely fair. I would argue that more meaningful structure should have been at the core of the HTML5 project. Of course, it was co-opted so that google and friends could push more meaningless web apps, with structure bolted on later by the idea of JSON. Things could have been so much better.

I guess I’m not *unhappy* with the current markup tools, I guess I’m just sad to see Betamax fail, again.

@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.

javascript “on” event attributes on any element.

@nathand @alexandra it’s this that makes browsers hard to implement compatinly, and xhtml would never have fixed this; because it would still needed some level of backward compatibility with existing sites and frameworks that would not have migrated to a format that doesn’t support their use cases

Follow

@nathand @alexandra there especially was no upside to doing so. you put a bunch of work into converting your site to xhtml so it can- work exactly the same but also break completely more often. it’s not a good deal.

Sign in to participate in the conversation
Merveilles

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.