Friday, October 1, 2010 2:17:23 PM
song, ukulele, html5, web
...
With apologies to Johnny Cash, the sorry tale of a mailing list that takes no prisoners. On a totally unrelated note, how's HTML5 coming on?
Read more...
Thursday, April 22, 2010 2:12:14 AM
japanese, html5
Opera colleague
Bruce Lawson thought it might be
spiffing if the description of the <ruby> element that appears in the
HTML5 spec was clarified a bit, so here's my attempt. I'm using Japanese as an example although it applies to Chinese and possibly other languages as well. Please note my definition of one syllable may differ from yours.
Read more...
Friday, February 5, 2010 9:54:00 PM
video, linux, html5, howto
Ogg Theora is the codec most supported by modern HTML5-capable browsers, so how can you convert your videos to it? Pretty easily, it seems.
Read more...
Wednesday, January 6, 2010 10:06:41 AM
ukulele, html5, video, music
...
Off sick with a cold, what better way to recover than by singing a song?
Read more...
Wednesday, October 8, 2008 9:19:29 AM
opera, html5, standards
With
HTML5 on its way I thought I'd take inspiration from
http://www.w3.org/QA/2008/09/top-500-html5-validity.html who in turn took inspiration from
Opera's QA team and test the front page of a few of Opera's websites for HTML5 conformity.
Firstly, an important caveat. The
HTML5 validator is beta so may have erroneously missed or mis-detected issues. In addition, at the time of writing HTML5 is still a working draft only and public websites should not be expected to support it yet. Not being valid HTML5 means nothing unless the document's doctype indicates that it's HTML5, which none of them do at this stage. This is just intended to be a (hopefully educational) "what if" exercise. Having said that, several sites didn't even validate against current standards - I'm looking at you
list.opera.com,
widgets.opera.com,
bugs.opera.com,
portal.opera.com,
labs.opera.com and
irc.opera.com!
So onto the HTML5 validation results, in no particular order:

This is all academic until we see what errors were found and how to correct them, in other words, what are some of the common changes from HTML 4 to 5 that we may encounter in our own websites?
Not surprisingly, the majority are a result of presentation and markup being strictly separated at last. The following were encountered in this exercise:
- Attribute size not allowed on element input.
- Attributes bgcolor, link, alink, vlink not allowed on element body.
- Attribute width not allowed on element table or td.
- Attribute border not allowed on element table or img.
- Attribute bgcolor not allowed on element table, tr or td.
- Attributes cellspacing and cellpadding not allowed on element table.
- Attribute align not allowed on element td or div.
- The center, font and big elements are obsolete.
CSS is the place for presentational items such as these.
Other HTML5-specific errors were mostly as follows:
- Attribute accesskey not allowed on element a.
- Attribute name not allowed on element a. (Use id)
- No whitespace allowed in paths/URIs. (Use %20)
- The acronym element is obsolete. (Use abbr)
- Bad values content-type and cache-control for attribute http-equiv on element meta.
Admittedly this only uses Opera's websites as an example and they are more compliant than most, but I was still surprised at how little work would be needed to make any of these valid HTML5. I wonder if the folks at
snapshot.opera.com know they're already ahead of the game?