by CmonDev · 12y ago · 0 comments
I'm as curmudgeonly as they get. Other than DRM, I think I'm actually pretty happy with what I see in HTML5, though unfortunately there's still no way to actually force Web developers to use just a minimal markup set.
If I could force every last goddamned Web dev in the universe to stick with <html>, <body>, <header>, <article>, <aside>, and <footer> tags, along with <p>, <em>, <strong>, <a>, <blockquote>, <ul>, (and list items), form and text elements, and <img>, I think I wouldn't shed a tear. And I could then write my own goddamned CSS to render their pages in a sane and readable fashion. Once (as opposed to the 1000x I'm approaching now via Stylebot).
Table elements would be accessible for a fee, waivable for actual data presentation.
The issues I've seen tend to run the other way though: far too often sites abuse low-level elements (or higher level ones) to accomplish things the wrong way. Example time:
• Google+. They're too good for <i> or <em>. Italicized or bolded text gets its own CSS class. Which you can't reverse engineer. The entire CSS shitpile (thanks to minification) is a mess of utterly nonsemantic elements. Which I'm far, far, far too well aware of having written a very extensive personal stylesheet to fix its many, many, many UI/UX presentation issues. If you're exporting your G+ posts (which I have as I slowly exit the system), use the JSON export option which includes your original marked-up input. That is far, far, far more portable.
• Blogger's "dynamic" templates. There's something to be said about a design for a text-oriented web site that is so utterly broken as to make it impossible to actually read the text. It's so broken (and dynamic) that I can't get it to sit still long enough to actually fix it with Stylebot. I've actually written bloggers asking them to change their templates so I can read their content. Oh, and my usual fallback, Readability, fails miserably as well. Another Google property, whaddyaknow.
• Some Indian news journal site. A stunning cascade of intricately nested divs. Someone was clearly doing the needful ... to gin up consulting revenues. But I have a doubt.
• Some old-school Web 1.0 sites where ... all text is bolded (b, strong { font-style: normal }), or written inside <h4> tags (WTF?), or background images are used (more WTF, plus a plaintive "why?!!").
• Paragraphs separated by <br> elements. No <p> tags. Better: Long streams of <br> tags inserted into RSS feeds. These can be addressed with sibling rules: "br + br + br { display: none; }".
• Paragraph indents accomplished by consecutive entities. That's what CSS rules are for. Sigh.
• Mixing px and pts or px and ems for any character sizing / positioning. IF IT'S TEXT, USE PT OR EMS.
• Fucking with letter spacing.
• Random <span> elements with hardcoded, px-sized, fonts.
• Inline styles.
• Tables used for text layout. Yeah, pg, I'm looking at you.
Also, the HTML5 ecosystem is more exciting because of the renaissance with javascript (nodeJS for server-side javascript, many JS libraries and frameworks) and the entire developer tooling that is making web development workflows much more productive than in the past.
Didn't user-facing Java (e.g. apps) on the desktop chase this unicorn it's entire existence? Will it be different this time?
I've switched to OpenStreetMap.org for my mapping uses these days.
The Web is the Borg. First there was the dotcom bubble, and now the Web is bigger than that. Then there was the Web 2.0 bubble, and now the Web is bigger than that. Now it's time for the HTML5 bubble to grow and burst, and in 10 years the Web will be even bigger still.
It's actually pretty amazing to see new user behavior where they install the latest version of a web browser to keep up with the jones's. This is good for browser developers as there's a demand for improved functionality and performance, and it serves to move us all forward as a web community faster (so web developers don't need to support dinosaur-era browser quirks for backwards compatibility). It seems like web technologies have achieved a "virtuous cycle" of improvement that is propelling things forward very quickly.