HTML 5 Makes Me Yawn
August 9, 2007
This morning, my buddy Gil pointed me to a run-down of the new features in HTML 5. There are a slew of new tags, some of which I think will be useful I mostly think they're poorly implemented or unnecessary.
- Structural and Block Semantic Elements: The major addition is a set of tags for organizing content (e.g.
<header>,<nav>,<article>and<aside>). This is designed to replace stuff like<div class="header">and I think it's a great idea. It'll make it much easier to re-use DOM javascript to manipulate a wide variety of sites since you won't have to guess if a class is named masthead or header or top-box or place-for-thingies. <time>: The idea is great, but the implementation blows. Currently you enter<time datetime="2007-04...">April 2007<time>, when it should be the other way around. You should be able to specify a format and have the browser change it programatically, which could hopefully be done by a future version of CSS. It'd look like<time format="%h:%m%P">2007-04-07 13:12:00<time>. That would be infinitely more useful.<meter>: Similarly, the code for meter is all wrong. They suggest using<meter value="88.7" min="0" max="100" low="65" high="96" optimum="100">B+</meter>but imagine doing that for thirty grades. Instead, create a container tag, something like<meterset>, and assign all the common values there and just keep the value as a parameter ofmeter.- Embedded media: Finally. So there will soon be
<video>and<audio>tags at your disposal, which is great but incredibly short-sighted. What if there is something else that comes down the line? Instead, it should just be<media type="audio" />. At least this way we can one day have<media type="kabuki theater" />. <details>: This would hold meta-data that you might not want to show, but might want to use in another way. Apparently the details are a little fuzzy, but I'm hoping this can hold some rss-like info to make it easier to parse XHTML in feed readers. I'm guessing this is wishful thinking.
Really, that's about it based on what's in this article. There is also a new tag called <datagrid> that will let you have easier access to a table or select via the DOM, but I can't imagine it will allow you to do much more than you can right now. As Gil put it, "Can't micro-formats take care of most of this stuff?" I do think it's nice to build it in, but creating specific tags for instances when I would normally use a div is underwhelming. I guess the key is to tighten up the data structures enough so that they're easier to manipulate with javascript and CSS, which is probably why I'd be more excited by a major update to either of those languages.
For the many of you here who aren't web geeks, I apologize — this is as nerdy as it gets. For those who are, enjoy this brief moment of super-geekery on Capn Design.
Advertisement
Comments (2 comments so far)
Comment #2:
I agree wholeheartedly about the media tag. I had originally read that audio and video would just be an attribute of what happened to this?
Trackback
Trackback Link: http://www.capndesign.com/cgi-bin/mt/mt-tb.cgi/1251
Post a comment
Sorry, Comments are closed. You may still send a trackback link though.
home
about
photo
mini reviews
archives
netflix queue
lists (soon)
calendar (soon)
rss feed
This entry is titled "HTML 5 Makes Me Yawn" and was posted on August 9, 2007 at 11:02 pm. It was posted in the category "Technology\Web."
There have been 2 Comments and .
Last 5 Entries Commented On:
Eric Asimov and the NYT Says Sprecher Makes the Best Root Beer (1)
Guitar Hero Ad: You Just Blew My Mind (1)
Why Those Chicken Wings Were Good (1)
Keith Olbermann Evicerates Bush in a Special Comment Piece (1)
What's the Problem? (1)
Last 5 Months:
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
Categories:
Art
Culture\Politics\Law
Design
Far East 2005
Food
Music\TV\Film\Media
My Life
New York
Quick Post
Site News
Sports
Technology\Web
Tidbits
Top Ten
Video Games
The content on this website is licensed under a Creative Commons license. So, cc 1999-2008. The code is copyright me. Enjoy.

Comment #1:
Geek!
One thing you didn't mention is the new <dialog> tag, and my thought that if they're going to go that far, they should just have every single element in a screenplay be represented so authors can begin writing stage and screenplays in HTML5.
Posted by Gil on August 10, 2007 at 10:01AM