<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>lest I forget (Oli Studholme)</description><title>@boblet</title><generator>Tumblr (3.0; @boblet)</generator><link>http://boblet.tumblr.com/</link><item><title>Heaven Can Wait, by Charlotte Gainsbourg

lyq:

This is probably...</title><description>&lt;object type="application/x-shockwave-flash" width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=7703592&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF"&gt;&lt;param name="quality" value="best" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="scale" value="showAll" /&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=7703592&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF" /&gt;&lt;embed src="http://www.vimeo.com/moogaloop.swf?clip_id=7703592&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;h2&gt;&lt;a href="http://www.vimeo.com/7703592"&gt;Heaven Can Wait, by Charlotte Gainsbourg&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;&lt;a href="http://lyq.tumblr.com/post/267596014/heaven-can-wait" class="tumblr_blog"&gt;lyq&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;This is probably &lt;a href="http://www.vimeo.com/7703592"&gt;the strangest thing I’ve seen all year.&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;</description><link>http://boblet.tumblr.com/post/275580274</link><guid>http://boblet.tumblr.com/post/275580274</guid><pubDate>Wed, 09 Dec 2009 12:50:53 +0900</pubDate></item><item><title>Super Baozi vs Sushi Man—by Sun Haipeng

Super Baozi, being...</title><description>&lt;object type="application/x-shockwave-flash" width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=5758269&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF"&gt;&lt;param name="quality" value="best" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="scale" value="showAll" /&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=5758269&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF" /&gt;&lt;embed src="http://www.vimeo.com/moogaloop.swf?clip_id=5758269&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;h2&gt;Super Baozi vs Sushi Man—by Sun Haipeng&lt;/h2&gt;

&lt;blockquote cite="http://vimeo.com/5758269"&gt;&lt;p&gt;Super Baozi, being tired of being in Catering,is longing for developeing in Recreation. With intense enthusiasm and strong perseverance, he has learned to sing songs and to play nunchakus.Here are two short films of Super Baozi,please enjoy them.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Sweet as.&lt;/p&gt;</description><link>http://boblet.tumblr.com/post/265600445</link><guid>http://boblet.tumblr.com/post/265600445</guid><pubDate>Wed, 02 Dec 2009 10:43:51 +0900</pubDate><category>video</category><category>martial arts</category><category>nunchaku</category><category>katana</category><category>china</category><category>japan</category><category>dumpling</category><category>sushi</category><category>humor</category></item><item><title>"Any sufficiently advanced incompetence is indistinguishable from malice."</title><description>“Any sufficiently advanced incompetence is indistinguishable from malice.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;h2&gt;&lt;a href="http://en.wikipedia.org/wiki/Clark's_Law"&gt;Clark’s Law&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Via &lt;a href="http://adactio.com/journal/1624/"&gt;Adactio’s “Burge Pitch Torrent”&lt;/a&gt;.&lt;/p&gt;&lt;/em&gt;</description><link>http://boblet.tumblr.com/post/234845065</link><guid>http://boblet.tumblr.com/post/234845065</guid><pubDate>Fri, 06 Nov 2009 19:35:29 +0900</pubDate><category>burge</category><category>pitch</category><category>torrent</category><category>dmca</category><category>stupid</category></item><item><title>"The craftman’s spirit, I think, imbues people with a sense of beauty, as in elaboration, delicacy,..."</title><description>“The craftman’s spirit, I think, imbues people with a sense of beauty, as in elaboration, delicacy, care, simplicity (words I often use).”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;h2&gt;&lt;a href="http://informationarchitects.jp/kenya-hara-on-japanese-aesthetics/"&gt;Kenya Hara On Japanese Aesthetics&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Kenya Hara, creative director of MUJI and professor at the Musashino Art University, talking about 職人気質 (taking pride in your work) felt by Japanese people. Translated by &lt;a href="http://informationarchitects.jp/"&gt;iA&lt;/a&gt; for a New York article “&lt;a hef="http://roomfordebate.blogs.nytimes.com/2009/10/19/beauty-and-the-bento-box/#kenya"&gt;Beauty and the Bento Box&lt;/a&gt;”.&lt;/p&gt;&lt;/em&gt;</description><link>http://boblet.tumblr.com/post/232655346</link><guid>http://boblet.tumblr.com/post/232655346</guid><pubDate>Wed, 04 Nov 2009 16:01:20 +0900</pubDate><category>Kenya Hara</category><category>muji</category><category>japan</category><category>aesthetics</category><category>craftsmanship</category></item><item><title>The Horribly Slow Murderer with the Extremely Inefficient Weapon...</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/9VDvgL58h_Y&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/9VDvgL58h_Y&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;h2&gt;The Horribly Slow Murderer with the Extremely Inefficient Weapon by &lt;a href="http://www.richard-gale.com"&gt;Richard Gale&lt;/a&gt;
&lt;/h2&gt;

&lt;blockquote&gt;&lt;p&gt;… and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, and again, andagain, andagain, andagain, andagain, andagain, andagain,andagain,andagain, andagain,andagain,andagain,andagain,andagainandagainand againandagainandagainandagain …&lt;/p&gt;&lt;/blockquote&gt;</description><link>http://boblet.tumblr.com/post/228470879</link><guid>http://boblet.tumblr.com/post/228470879</guid><pubDate>Sat, 31 Oct 2009 11:21:41 +0900</pubDate><category>movie</category><category>spoon</category><category>murder</category></item><item><title>Troubleshooting MySQL installation on Snow Leopard</title><description>&lt;p&gt;I installed &lt;a href="http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/" title="Hivelogic - Compiling MySQL on Snow Leopard"&gt;MySQL 5.1.39 via Hivelogic’s “Compiling MySQL on Snow Leopard”&lt;/a&gt; and got the dreaded&lt;/p&gt;

&lt;pre&gt;&lt;samp&gt;$ &lt;kbd&gt;mysql&lt;/kbd&gt;
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)&lt;/samp&gt;&lt;/pre&gt;

&lt;p&gt;I eventually tracked the problem down, but MySQL doesn’t make things easy. This error can be from a bunch of things, so here’s what helped&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Check Console.app&lt;/strong&gt;—this was showing MySQL trying to start (and failing) every 10 seconds (ouch), but it gave me a pointer to the MySQL log file:&lt;br/&gt;&lt;pre&gt;&lt;samp&gt;10/27/09 10:51:24 PM	com.mysql.mysqld[5198]	091027 22:51:24 mysqld_safe Logging to '/usr/local/mysql/var/&lt;em&gt;My_HD&lt;em&gt;&lt;/em&gt;.local.err'.&lt;/em&gt;&lt;/samp&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check the MySQL error log&lt;/strong&gt;—unfortunately this is inside a chowned folder so I needed to &lt;kbd&gt;sudo tail -n100 /usr/local/mysql/var/&lt;em&gt;My_HD&lt;/em&gt;.local.err&lt;/kbd&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check your &lt;code&gt;my.cnf&lt;/code&gt;&lt;/strong&gt;—the log pointed to an error in my &lt;code&gt;/etc/my.cnf&lt;/code&gt; file. I should have tried checking or removing the text I added earlier&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After fixing the typo, I needed to make a link from the actual mysql.sock file (in &lt;samp&gt;/private/var/mysql/mysql.sock&lt;/samp&gt;) to where &lt;kbd&gt;mysql&lt;/kbd&gt; expects it (which is actually &lt;samp&gt;/private/tmp/mysql.sock&lt;/samp&gt;, as &lt;samp&gt;/tmp&lt;/samp&gt; and &lt;samp&gt;/var&lt;/samp&gt; actually map to &lt;samp&gt;/private/tmp&lt;/samp&gt; and &lt;samp&gt;/private/var&lt;/samp&gt; respectively):&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$ &lt;kbd&gt;ln -s /private/var/mysql/mysql.sock /private/tmp/mysql.sock&lt;/kbd&gt;&lt;/code&gt;&lt;/pre&gt;</description><link>http://boblet.tumblr.com/post/224961576</link><guid>http://boblet.tumblr.com/post/224961576</guid><pubDate>Wed, 28 Oct 2009 00:50:55 +0900</pubDate><category>mysql</category><category>macosx</category><category>snow leopard</category><category>install</category><category>troubleshooting</category></item><item><title>Installing gibak on Snow Leopard</title><description>&lt;p&gt;&lt;a href="http://eigenclass.org/hiki/gibak-0.3.0"&gt;Gibak&lt;/a&gt; is an OCaml wrapper for Git to make it easier to use Git for backing up your hard disk, or parts thereof. I probably should just start paying for &lt;a href="http://www.getdropbox.com/"&gt;DropBox&lt;/a&gt; already, but I still feel a little worried about moving eg ~/Library/ into the Dropbox folder and symlinking it.&lt;/p&gt;

&lt;p&gt;Unfortunately the original author Mauricio Fernandez hasn’t been maintaining it recently, but the wonders of Github mean it’s had several collaborative bug fixes. I’ve used a &lt;a href="http://github.com/ChrisJohnsen/gibak/" title="ChrisJohnsen's gibak at trailing-slash - GitHub"&gt;fork by Chris Johnsen&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;However I had some trouble getting it to compile, with this error:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.09 sec)
- build . find-git-repos.o
+ ocamlfind ocamlopt -package fileutils,unix -warn-error A -dtypes
-inline 10 -S -I . -c find-git-repos.ml
File "find-git-repos.ml", line 1, characters 0-1:
Warning X: bad source file name: "Find-git-repos" is not a valid module name.
File "find-git-repos.ml", line 1, characters 0-1:
Error: Error-enabled warnings (1 occurrences)
*** omake: 23/49 targets are up to date
*** omake: failed (0.22 sec, 0/3 scans, 1/7 rules, 1/83 digests)
*** omake: targets were not rebuilt because of errors:
  find-git-repos.cmi
     depends on: find-git-repos.ml
  find-git-repos.cmx
     depends on: find-git-repos.ml
  find-git-repos.o
     depends on: find-git-repos.ml&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;After getting completely stuck I asked Chris for help, and he very kindly figured out my problem. Due to a change in &lt;code&gt;ocaml-fileutils-0.4.0&lt;/code&gt; I needed to change line 8 of gibak &lt;code&gt;oametastore.ml&lt;/code&gt; from &lt;code&gt;open FileUtil.StrUtil&lt;/code&gt; to:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;open FileUtil&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I also needed to change the &lt;code&gt;OMakeFile&lt;/code&gt; to include the path to &lt;code&gt;ocaml-fileutils&lt;/code&gt; and suppress the module name error &lt;code&gt;ocaml-3.11.0&lt;/code&gt; generates:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;INCLUDES += /opt/local/lib/ocaml/site-lib/fileutils
OCAMLFLAGS += -warn-error x&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Chris is adding these changes to his gibak fork, so you should just clone that and take it from there (&lt;a href="http://wiki.github.com/ChrisJohnsen/gibak" title="Home - gibak - GitHub"&gt;see the wiki for more info&lt;/a&gt;). Thanks again for your help Chris, and also to Jay Levitt!&lt;/p&gt;</description><link>http://boblet.tumblr.com/post/220759296</link><guid>http://boblet.tumblr.com/post/220759296</guid><pubDate>Fri, 23 Oct 2009 17:01:00 +0900</pubDate><category>macosx</category><category>snow leopard</category><category>gibak</category><category>git</category><category>install</category></item><item><title>Installing omake-0.9.8.5, ocaml-fileutils-0.4.0 on Snow Leopard</title><description>&lt;p&gt;For &lt;code&gt;omake&lt;/code&gt; I was getting the error:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Undefined symbols:
  "_caml_sync", referenced from:
      _camlOmake_exec__28 in[==================================================================================== exec.a(omake_exec.o)01161
ld: symbol(s) not found
collect2: ld returned 1 exit status
File "caml_startup", line 1, characters 0-1:
Error: Error during linking&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I commented out the reference to &lt;code&gt;caml_sync&lt;/code&gt; in &lt;code&gt;omake_exec.ml&lt;/code&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;(* external sync : unit -&gt; unit = "caml_sync" *)&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Next, I was getting this error for &lt;code&gt;ocaml-fileutlis&lt;/code&gt; (which isn’t in MacPorts yet):&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;/usr/bin/install: illegal option -- t
make: *** [install] Error 64&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The makefile contained:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;/usr/bin/install -c -d /usr/local/share/doc/ocaml-fileutils/api
/usr/bin/install -c -m 644 -t /usr/local/share/doc/ocaml-fileutils/api \&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It seems that &lt;code&gt;-t&lt;/code&gt; (which is used for denoting the destination directory) isn’t an option in MacOS X’s &lt;code&gt;/usr/bin/install&lt;/code&gt;, so I edited the makefile from:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;	$(INSTALL) -d $(htmldir)/api
	$(INSTALL_DATA) -t $(htmldir)/api \
	  $(wildcard $(BUILDDIR)/fileutils.docdir/*)&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;to:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;	$(INSTALL_DATA) $(wildcard $(BUILDDIR)/fileutils.docdir/*) \
	$(htmldir)/api&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Seems to have worked…&lt;/p&gt;</description><link>http://boblet.tumblr.com/post/219826119</link><guid>http://boblet.tumblr.com/post/219826119</guid><pubDate>Thu, 22 Oct 2009 17:21:00 +0900</pubDate><category>snow leopard</category><category>macosx</category><category>terminal</category><category>omake</category><category>ocaml</category><category>gibak</category></item><item><title>Torture Memos: Waterboarding, by Jonathan Mann


I shared this...</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/sJSXbA9j0Js&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/sJSXbA9j0Js&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;h2&gt;Torture Memos: Waterboarding, by &lt;a href="http://www.jonathanmannmusic.com"&gt;Jonathan Mann&lt;/a&gt;
&lt;/h2&gt;

&lt;blockquote cite="http://likeit.tumblr.com/post/200889002"&gt;&lt;p&gt;I shared this on Google. I’ve emailed it. I want to mail it via snail mail to my older family members who don’t use email, but I have yet to figure out how to do so.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="http://likeit.tumblr.com/post/200889002"&gt;likeit&lt;/a&gt;, via &lt;a href="http://misseffieb.tumblr.com/post/201162993/likeit-i-shared-this-on-google-ive-emailed"&gt;misseffieb&lt;/a&gt;&lt;/p&gt;</description><link>http://boblet.tumblr.com/post/214540093</link><guid>http://boblet.tumblr.com/post/214540093</guid><pubDate>Fri, 16 Oct 2009 17:24:12 +0900</pubDate><category>torture</category><category>water-boarding</category><category>suffering</category><category>pain</category><category>fubar</category><category>USA</category></item><item><title>Block-level links, HTML5 and Firefox</title><description>&lt;p class="ins-block"&gt;&lt;em&gt;Update:&lt;/em&gt; Unfortunately this doesn’t seem to be a magic bullet, and there are still problems with the dreaded packet boundary bug. See the &lt;a href="https://bugzilla.mozilla.org/show_bug.cgi?id=514122"&gt;Mozilla bug report&lt;/a&gt; for more info.&lt;/p&gt;

&lt;p&gt;Recently I’ve been experimenting with wrapping block-level elements in &lt;code&gt;&lt;a&gt;&lt;/code&gt; (so-called &lt;em&gt;block-level links&lt;/em&gt;), as you can see in this page’s header. This has several benefits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;several elements can of course be linked at once, such as an image and it’s caption—historically we’d need to link both the image and caption text individually&lt;/li&gt;
&lt;li&gt;Internet Explorer 6 doesn’t allow CSS &lt;code&gt;:hover&lt;/code&gt; etc effects on anything other than &lt;code&gt;&lt;a&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;making block-level elements into links increases the clickable area&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Changing &lt;code&gt;&lt;a&gt;&lt;/code&gt; from an inline element to something like &lt;code&gt;&lt;del&gt;&lt;/code&gt; that can appear pretty much anywhere is fine in the spec, but what about browser support? Luckily, this behaviour is already unofficially supported in current browsers. However I recently discovered a bug in Firefox; if the block-level link contains any of the new HTML5 semantic elements bizarre stuff happens (&lt;a href="https://bugzilla.mozilla.org/show_bug.cgi?id=514122"&gt;Bugzilla: #514122&lt;/a&gt;, &lt;a href="http://oli-studio.com/bugs/mozilla/block-level-links.html" title="Firefox closes block-level links when encountering HTML5 elements"&gt;test case&lt;/a&gt;):&lt;/p&gt;

&lt;h3&gt;Code sample&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;&lt;div&gt;
  &lt;a href="/"&gt;
  &lt;hgroup&gt;
    &lt;h1&gt;Title&lt;/h1&gt;
    &lt;h2&gt;Subtitle&lt;/h2&gt;
  &lt;/hgroup&gt;
  &lt;/a&gt;
&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;In Firefox (DOM asplode)&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;&lt;div&gt;
  &lt;a href="/"&gt;
  &lt;hgroup&gt;
    &lt;/hgroup&gt;&lt;/a&gt;&lt;h1&gt;&lt;a _moz-rs-heading="" href="/"&gt;Title&lt;/a&gt;&lt;/h1&gt;
&lt;a href="/"&gt;    &lt;h2&gt;Subtitle&lt;/h2&gt;
  
  &lt;/a&gt;
&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;While the contained content is still linked, the HTML5 element is prematurely closed, the link becomes inline for the first element following the HTML5 element, and everything after that is wrapped in a new link. Kind of defeats the purpose huh. This is especially important for &lt;code&gt;&lt;hgroup&gt;&lt;/code&gt;, a new HTML5 element that’s going to be block-linked a &lt;em&gt;lot&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Luckily, there is an easy solution; &lt;strong&gt;add a &lt;code&gt;&lt;div&gt;&lt;/code&gt; wrapper&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;Code sample with wrapper &lt;code&gt;&lt;div&gt;&lt;/code&gt;
&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;&lt;div&gt;
  &lt;a href="/"&gt;
    &lt;div&gt;
      &lt;hgroup&gt;
        &lt;h1&gt;Title&lt;/h1&gt;
        &lt;h2&gt;Subtitle&lt;/h2&gt;
      &lt;/hgroup&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;In Firefox (all is right in the DOM)&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;&lt;div&gt;
  &lt;a href="/"&gt;
    &lt;div&gt;
      &lt;hgroup&gt;
        &lt;h1&gt;Title&lt;/h1&gt;
        &lt;h2&gt;Subtitle&lt;/h2&gt;
      &lt;/hgroup&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Wow that was easy! Lucky it wasn’t an IE bug huh ;-) There are some other things to watch out for too. Link styles don’t inherit to block-level elements, so you need to explicitly declare them on the contained elements, or use eg &lt;code&gt;{background: inherit;}&lt;/code&gt;. This also includes the browser default &lt;code&gt;{text-decoration: underline;}&lt;/code&gt; (in Safari browser link styles are applied, but user link styles also need to be declared). Finally, Firefox handles tag mismatch errors in block-level links … poorly. When in doubt, validate.&lt;/p&gt;
&lt;p&gt;So in conclusion, if your block-level links contain HTML5 structural elements, add a wrapper &lt;code&gt;&lt;div&gt;&lt;/code&gt;. If you have any questions, feedback, or have found a mistake, please &lt;a href="http://twitter.com/home?status=%40boblet%20re%3A%20http%3A%2F%2Fbit.ly%2FUE3gg%20" title="via the Twitter homepage"&gt;let me know via Twitter&lt;/a&gt; (&lt;a href="http://twitter.com/boblet"&gt;@boblet)&lt;/a&gt;…&lt;/p&gt;</description><link>http://boblet.tumblr.com/post/178852468</link><guid>http://boblet.tumblr.com/post/178852468</guid><pubDate>Fri, 04 Sep 2009 00:42:00 +0900</pubDate><category>html5</category><category>firefox</category><category>block level links</category></item><item><title>That Mitchell and Webb Look: Homeopathic A&amp;E (via...</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/HMGIbOGu8q0&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/HMGIbOGu8q0&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;blockquote&gt;&lt;p&gt;That Mitchell and Webb Look: Homeopathic A&amp;E (via &lt;a href="http://youtube.com/user/gudbuytjane"&gt;gudbuytjane&lt;/a&gt;)&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Via &lt;a href="http://adactio.tumblr.com/post/172337971/that-mitchell-and-webb-look-homeopathic-a-e-via"&gt;adactio&lt;/a&gt;&lt;/p&gt;</description><link>http://boblet.tumblr.com/post/173943964</link><guid>http://boblet.tumblr.com/post/173943964</guid><pubDate>Sat, 29 Aug 2009 00:47:52 +0900</pubDate><category>movie</category><category>homeopathy</category></item><item><title>Mameshiba #7

tehehe</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/p-E-8RXRG1M&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/p-E-8RXRG1M&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;h2&gt;Mameshiba #7&lt;/h2&gt;

&lt;p&gt;tehehe&lt;/p&gt;</description><link>http://boblet.tumblr.com/post/173916521</link><guid>http://boblet.tumblr.com/post/173916521</guid><pubDate>Sat, 29 Aug 2009 00:11:21 +0900</pubDate></item><item><title>Bobby McFerrin Demonstrates the Power of the Pentatonic...</title><description>&lt;object type="application/x-shockwave-flash" width="400" height="300" data="http://vimeo.com/moogaloop.swf?clip_id=5732745&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF"&gt;&lt;param name="quality" value="best" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="scale" value="showAll" /&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=5732745&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF" /&gt;&lt;embed src="http://www.vimeo.com/moogaloop.swf?clip_id=5732745&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;hgroup&gt;&lt;h2&gt;&lt;a href="http://vimeo.com/5732745"&gt;Bobby McFerrin Demonstrates the Power of the Pentatonic Scale&lt;/a&gt;&lt;/h2&gt;
&lt;h3&gt;from &lt;a href="http://www.worldsciencefestival.com/"&gt;World Science Festival&lt;/a&gt;
&lt;/h3&gt;
&lt;/hgroup&gt;&lt;blockquote&gt;&lt;p&gt;Bobby McFerrin demonstrates the power of the pentatonic scale, using audience participation, at the event “Notes &amp; Neurons: In Search of the Common Chorus”, from the 2009 World Science Festival, June 12, 2009.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Wow&lt;/p&gt;</description><link>http://boblet.tumblr.com/post/153484618</link><guid>http://boblet.tumblr.com/post/153484618</guid><pubDate>Sat, 01 Aug 2009 15:52:08 +0900</pubDate><category>movie</category><category>music</category><category>performance</category><category>Bobby McFerrin</category></item><item><title>“Simon’s Cat ‘Fly Guy’ (via simonscat)”

I’m sure all cat owners...</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/I1qHVVbYG8Y&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/I1qHVVbYG8Y&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;h2&gt;“Simon’s Cat ‘Fly Guy’ (via &lt;a href="http://youtube.com/user/simonscat"&gt;simonscat&lt;/a&gt;)”&lt;/h2&gt;

&lt;p&gt;I’m sure all cat owners can attest to the truth of this. Via &lt;a href="http://adactio.tumblr.com/post/150922472/simons-cat-fly-guy-via-simonscat"&gt;adactio&lt;/a&gt;&lt;/p&gt;</description><link>http://boblet.tumblr.com/post/150936692</link><guid>http://boblet.tumblr.com/post/150936692</guid><pubDate>Wed, 29 Jul 2009 01:32:00 +0900</pubDate><category>humor</category><category>video</category><category>cat</category></item><item><title>"Again I say: mammals and dinosaurs. Simon, along with everyone else who thinks online subscription..."</title><description>“Again I say: mammals and dinosaurs. Simon, along with everyone else who thinks online subscription fees can save the newspaper industry, is effectively arguing that the world will change to support newspapers. The truth is that newspapers must change to adapt to the world. Just because the extinction of newspapers would be a tragic loss doesn’t mean it won’t happen.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;h2&gt;“&lt;a href="http://daringfireball.net/2009/07/pay_walls"&gt;Pay Walls&lt;/a&gt;”, by John Gruber&lt;/h2&gt;&lt;/em&gt;</description><link>http://boblet.tumblr.com/post/148750738</link><guid>http://boblet.tumblr.com/post/148750738</guid><pubDate>Sat, 25 Jul 2009 15:39:00 +0900</pubDate><category>newspaper</category><category>internet</category><category>fight</category></item><item><title>“Masters”—The Vanderbilt Republic Foundation

Promo for a...</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/5y1sdfk6DFs&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/5y1sdfk6DFs&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;h2&gt;&lt;a href="http://vanderbiltrepublic.org/"&gt;“Masters”—The Vanderbilt Republic Foundation&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Promo for a collaborative documentary and photography project on the surviving master performers of Cambodia’s traditional arts, 90% of whom were killed under Pol Pot’s regime. Produced by Cambodian Living Arts and the Vanderbilt Republic Foundation.&lt;/p&gt;

&lt;p&gt;&lt;a href="2http://daringfireball.net/linked/2009/07/22/vanderbilt-republic-foundation%22"&gt;&lt;em&gt;Via Daring Fireball&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://boblet.tumblr.com/post/147372577</link><guid>http://boblet.tumblr.com/post/147372577</guid><pubDate>Thu, 23 Jul 2009 16:04:00 +0900</pubDate><category>movie</category><category>art</category><category>photography</category><category>cambodia</category></item><item><title>12 common problems with HTML 5</title><description>&lt;div id="html5-articles" class="nav"&gt;
&lt;h3&gt;Other HTML 5 articles&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://boblet.tumblr.com/post/60552152/html5" title="HTML5 id/class name cheatsheet・@boblet | random notes"&gt;HTML 5 id/class name cheatsheet&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;HTML 5 structure…
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://boblet.tumblr.com/post/130610820/html5-structure1" title="HTML5 structurediv, section &amp; article・@boblet | random notes"&gt;div, section &amp; article&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://boblet.tumblr.com/post/134276674/html5-structure2" title="HTML5 structureheader, hgroup &amp; h1-h6・@boblet | random notes"&gt;header, hgroup &amp; h1-h6&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://boblet.tumblr.com/post/134732913/html5-structure3" title="HTML5 structurenav, aside, figure, &amp; footer・@boblet | random notes"&gt;nav, aside, figure, &amp; footer&lt;/a&gt; (plus outlines)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://boblet.tumblr.com/post/141239118/html5-structure4" title="HTML5 structureHTML4 and XHTML1 to HTML5・@boblet | random notes"&gt;HTML 4 and XHTML 1 to HTML 5&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="http://bit.ly/EgVcc" title="12 common problems with HTML 5 ・ @boblet | random notes"&gt;12 common problems with HTML 5&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;

&lt;div class="group"&gt;
&lt;div id="in-page" class="nav"&gt;
&lt;h3&gt;In-page navigation&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="#browser-support"&gt;Browsers don’t support HTML 5&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#ie-support"&gt;IE doesn’t support HTML 5&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#is-html5-ready-yet"&gt;HTML 5 won’t be ready until 2022!?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#xhtml2-doa"&gt;You mean XHTML isn’t the future!?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#incremental"&gt;Now I have to relearn EVERYTHING!?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#author-spec"&gt;The HTML 5 spec isn’t understandable/is overly complex&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#tag-soup"&gt;HTML 5 means back to tag soup&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#all-caps"&gt;HTML 5 means ALL-CAPS element names&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#xhtml-style"&gt;But I &lt;em&gt;like&lt;/em&gt; XHTML-style closing slashes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#presentational-elements"&gt;HTML 5 contains presentational elements&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#purity"&gt;HTML 5 isn’t as strict/pure/semantic as XHTML 1.x&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#gross"&gt;HTML 5 is only what ‘Supreme Dictator for Life’ Ian Hickson deigns to accept&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;

&lt;p&gt;Recently I’ve been reading a lot of articles on HTML 5 (such as on &lt;a href="http://www.zeldman.com/" title="Jeffrey Zeldman Presents The Daily Report"&gt;Zeldman.com&lt;/a&gt; and &lt;a href="http://html5doctor.com/" title="HTML5 Doctor, helping you implement HTML 5 today"&gt;HTML 5 Doctor&lt;/a&gt;), and have seen a few reoccurring false perceptions in the comments. While some may seem funny for those following HTML 5’s progress closely, a lot of people &lt;em&gt;aren’t&lt;/em&gt;, nor can they be expected to.&lt;/p&gt;
&lt;p&gt;So in addition to the &lt;a href="http://wiki.whatwg.org/wiki/FAQ" title="FAQ - WHATWG Wiki"&gt;WhatWG FAQ&lt;/a&gt;, here are some common misunderstandings (and their explanations), written at a less technical level. My apologies for any overuse of the &lt;a href="http://en.wikipedia.org/wiki/Interrobang" title="Interrobang - Wikipedia, the free encyclopedia"&gt;interrobang&lt;/a&gt; :)&lt;/p&gt;
&lt;/div&gt;
&lt;ol id="html5-faq"&gt;
&lt;li id="browser-support"&gt;
&lt;h3 class="permalink"&gt;&lt;a href="#browser-support"&gt;Browsers don’t support HTML 5&lt;strong&gt; #&lt;/strong&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;While a lot of the new stuff in HTML 5 isn’t widely supported, it’s important to remember &lt;a href="http://www.w3.org/TR/html-design-principles/#compatibility" title="HTML Design Principles"&gt;one of HTML 5’s core principles is compatibility&lt;/a&gt;, eg with current content. &lt;a href="http://dev.w3.org/html5/html4-differences/" title="HTML 5 differences from HTML 4"&gt;Apart from a few minor differences&lt;/a&gt; most of the HTML 4/XHTML 1 spec is in HTML 5. For the new parts of HTML 5 (such as structural elements) &lt;a href="http://boblet.tumblr.com/post/141239118/html5-structure4#browser-support" title="HTML 5 structureHTML 4 and XHTML 1 to HTML 5 ・ @boblet | random notes"&gt;support can often be added today via CSS and Javascript&lt;/a&gt;. Finally, &lt;a href="http://en.wikipedia.org/wiki/Comparison_of_layout_engines_(HTML_5)" title="Comparison of layout engines (HTML 5) - Wikipedia, the free encyclopedia"&gt;modern browsers (and even IE) are implementing the HTML 5 spec&lt;/a&gt; now. While full compliance will take a while, there’s a lot that’s already usable, and support is increasing.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Ref:&lt;/em&gt; &lt;a href="http://wiki.whatwg.org/wiki/FAQ#When_will_we_be_able_to_start_using_these_new_features.3F" title="FAQ - WHATWG Wiki"&gt;When will we be able to start using these new features?&lt;/a&gt;—WhatWG FAQ&lt;/p&gt;
&lt;/li&gt;
&lt;li id="ie-support"&gt;
&lt;h3&gt;IE doesn’t support HTML 5&lt;/h3&gt;
&lt;p&gt;Internet Explorer is something of a … rugged individualist, resisting ‘trends’ (like standards support) and doing things it’s own way (cough .EOT cough) ;-). However as stated above because &lt;em&gt;HTML 5 is mainly a well-defined HTML 4/XHTML 1 with sprinkles&lt;/em&gt;, all of the ‘old stuff’ still works. Unfortunately due to bugs, &lt;a href="http://boblet.tumblr.com/post/141239118/html5-structure4#browser-support" title="HTML 5 structureHTML 4 and XHTML 1 to HTML 5 ・ @boblet | random notes"&gt;IE currently requires a Javascript hack to use new HTML 5 structural elements&lt;/a&gt;. For other new parts of the spec, Microsoft has been largely silent, but the IE team has already implemented &lt;a href="http://www.w3.org/TR/cors/" title="Cross-Origin Resource Sharing"&gt;Cross-origin resource sharing&lt;/a&gt; and &lt;a href="http://dev.w3.org/html5/webstorage/" title="Web Storage"&gt;Web storage&lt;/a&gt; in IE8 (&lt;a href="http://blogs.msdn.com/ie/archive/2008/10/06/updates-for-ajax-in-ie8-beta-2.aspx" title="IEBlog : Updates for AJAX in IE8 Beta 2"&gt;IE Team blog&lt;/a&gt;), which were both parts of HTML 5 (and have been subsequently released as stand-alone specs). We can only hope that &lt;a href="http://blogs.msdn.com/ie/archive/2009/01/29/overview-of-platform-improvements-in-ie8-rc1.aspx" title="IEBlog : Overview of Platform Improvements in IE8 RC1"&gt;their well-deserved pride in implementing CSS2.1 completely&lt;/a&gt; carries over to HTML 5 and other specs.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Ref:&lt;/em&gt; &lt;a href="http://wiki.whatwg.org/wiki/FAQ#What_about_Microsoft_and_Internet_Explorer.3F" title="FAQ - WHATWG Wiki"&gt;What about Microsoft and Internet Explorer?&lt;/a&gt;—WhatWG FAQ&lt;/p&gt;
&lt;/li&gt;
&lt;li id="is-html5-ready-yet"&gt;
&lt;h3&gt;HTML 5 won’t be ready until 2022!?&lt;/h3&gt;
&lt;p&gt;While &lt;a href="http://jeffcroft.com/links/2008/sep/11/html5-to-be-quotdonequot-in-2022-this-is-not-a-joke/"&gt;this statement makes for good WTF-style headlines&lt;/a&gt;, it’s just not true. &lt;a href="http://html5doctor.com/2022-or-when-will-html-5-be-ready/" title="2022, or when will HTML 5 be ready? | HTML5 Doctor"&gt;The 2022 date is for &lt;em&gt;two complete implementations&lt;/em&gt;&lt;/a&gt;, something that has still not happened for HTML 4, XHTML 1.0 or XHTML 1.1. The dates to worry about are 2012 for a completed draft, and &lt;em&gt;October 2009 for a working draft&lt;/em&gt;. That’s three months away yo! Also as stated above, browser makers are already implementing some of the new parts of HTML 5, and the rest is backwards compatible.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Ref:&lt;/em&gt; &lt;a href="http://wiki.whatwg.org/wiki/FAQ#When_will_HTML_5_be_finished.3F" title="FAQ - WHATWG Wiki"&gt;When will HTML 5 be finished?&lt;/a&gt; and &lt;a href="http://wiki.whatwg.org/wiki/FAQ#When_will_we_be_able_to_start_using_these_new_features.3F" title="FAQ - WHATWG Wiki"&gt;When will we be able to start using these new features?&lt;/a&gt;—WhatWG FAQ, and for fun &lt;a href="http://ishtml5readyyet.com/" title="IS HTML5 READY YET?"&gt;Is HTML 5 Ready Yet?&lt;/a&gt; and &lt;a href="http://ishtml5ready.com/"&gt;Is HTML 5 Ready?&lt;/a&gt; ;-)&lt;/p&gt;
&lt;/li&gt;
&lt;li id="xhtml2-doa"&gt;
&lt;h3&gt;You mean XHTML isn’t the future!?&lt;/h3&gt;
&lt;p&gt;No, it’s the present. &lt;a href="http://www.zeldman.com/2009/07/07/in-defense-of-web-developers/" title="In defense of web developers  –   Jeffrey Zeldman Presents The Daily Report"&gt;XHTML2 may be dead&lt;/a&gt;, but nothing will stop the millions of current XHTML 1.x pages (and any you create in the future) from working. However this probably means it’s a Good Idea™ to &lt;a href="http://boblet.tumblr.com/post/141239118/html5-structure4#why-html5" title="HTML 5 structureHTML 4 and XHTML 1 to HTML 5 ・ @boblet | random notes"&gt;find out more about HTML 5&lt;/a&gt; at some stage ;-)&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Ref:&lt;/em&gt; &lt;a href="http://wiki.whatwg.org/wiki/HTML_vs._XHTML#Parsing" title="HTML vs. XHTML - WHATWG Wiki"&gt;Differences Between HTML and XHTML; Parsing&lt;/a&gt;—WhatWG FAQ&lt;/p&gt;
&lt;/li&gt;
&lt;li id="incremental"&gt;
&lt;h3&gt;Now I have to relearn EVERYTHING!?&lt;/h3&gt;
&lt;p&gt;Since HTML 5 is mainly a well-defined HTML 4/XHTML 1, and because both HTML- and XHTML-style syntax is allowed, you need to do very little (maybe only a &lt;code&gt;doctype&lt;/code&gt; change) to change current well-made pages into HTML 5. While there are certainly new things to learn, we all like learning, right?&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Ref:&lt;/em&gt; &lt;a href="http://dev.w3.org/html5/html4-differences/" title="HTML 5 differences from HTML 4"&gt;HTML 5 differences from HTML 4&lt;/a&gt;—W3C Working Draft&lt;/p&gt;
&lt;/li&gt;
&lt;li id="author-spec"&gt;
&lt;h3&gt;The HTML 5 spec isn’t understandable/is overly complex&lt;/h3&gt;
&lt;p&gt;The HTML 5 spec is being written primarily for ‘implementors’—programmers who make web browsers and other tools to use the web. Unlike previous specifications, HTML 5 is defining processing steps and error handling explicitly, which can be a little overwhelming if you’re not a browser programmer :) Luckily a majority of the spec is actually just the HTML 4/XHTML 1 you already know.&lt;/p&gt;
&lt;p&gt;Also, there are already many useful articles and resources for author information on HTML 5, such as &lt;a href="http://www.alistapart.com/articles/previewofhtml5" title="A List Apart: Articles: A Preview of HTML 5"&gt;“A Preview of HTML 5” by Lachlan Hunt&lt;/a&gt; on A List Apart, &lt;a href="http://dev.w3.org/html5/html-author/" title="HTML 5 Reference"&gt;“HTML 5 Reference” by Lachlan Hunt&lt;/a&gt; (a version of the spec specifically for authors) on w3.org, &lt;a href="http://dev.w3.org/html5/markup/" title="HTML 5: The Markup Language"&gt;“HTML 5: The Markup Language” by Mike™ Smith&lt;/a&gt; (a pared down spec that removes implementor details) on w3.org, and sites like &lt;a href="http://html5doctor.com/" title="HTML5 Doctor, helping you implement HTML 5 today"&gt;HTML 5 Doctor&lt;/a&gt;. You can also check out &lt;a href="#html5-articles"&gt;my humble HTML 5 articles&lt;/a&gt; :)&lt;/p&gt;
&lt;/li&gt;
&lt;li id="tag-soup"&gt;
&lt;h3&gt;HTML 5 means back to tag soup&lt;/h3&gt;
&lt;p&gt;While the XML strictness in XHTML 1.0 and 1.1 certainly encouraged a move away from the bad old ways of the past, there’s nothing in HTML 5 (or HTML 4 either) that stops you from adding closing elements, correctly nesting elements, using elements appropriately, and generally making good code. HTML 5 is forgiving of mistakes, but you don’t have to make them :) Current HTML 5 validators are also already good (&lt;a href="http://validator.w3.org/" title="The W3C Markup Validation Service"&gt;W3C&lt;/a&gt;, &lt;a href="http://validator.nu/" title="Validator.nu"&gt;Validator.nu&lt;/a&gt;), and there is even talk of making a user-selectable ‘strict validator mode’, so if you want to write good code there’s nothing to stop you.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Ref:&lt;/em&gt; &lt;a href="http://wiki.whatwg.org/wiki/FAQ#Why_does_HTML5_legitimise_tag_soup.3F" title="FAQ - WHATWG Wiki"&gt;Why does HTML5 legitimise tag soup?&lt;/a&gt;—WhatWG FAQ&lt;/p&gt;
&lt;/li&gt;
&lt;li id="all-caps"&gt;
&lt;h3&gt;HTML 5 means ALL-CAPS element names&lt;/h3&gt;
&lt;p&gt;HTML 5 is case-insensitive; both upper- and lower-case elements are permitted, even &lt;code&gt;&lt;!doctype html&gt;&lt;/code&gt; ;-) Note that &lt;a href="http://wiki.whatwg.org/wiki/FAQ#What_will_the_DOCTYPE_be.3F" title="FAQ - WHATWG Wiki"&gt;&lt;code&gt;&lt;!DOCTYPE html&gt;&lt;/code&gt; is recommended&lt;/a&gt; just in case you ever need to use it in XHTML (which &lt;em&gt;is&lt;/em&gt; case-sensitive).&lt;/p&gt;
&lt;/li&gt;
&lt;li id="xhtml-style"&gt;
&lt;h3&gt;But I &lt;em&gt;like&lt;/em&gt; XHTML-style closing slashes&lt;/h3&gt;
&lt;p&gt;No one will take them away from you! XHTML-style closing slashes on empty elements are valid HTML 5, so &lt;a href="http://boblet.tumblr.com/post/141239118/html5-structure4#xhtml-style" title="HTML 5 structureHTML 4 and XHTML 1 to HTML 5 ・ @boblet | random notes"&gt;you can write either HTML-style or XHTML-style HTML 5&lt;/a&gt; (although it’d be best to consciously choose one and stick to it).&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Ref:&lt;/em&gt; &lt;a href="http://wiki.whatwg.org/wiki/FAQ#Should_I_close_empty_elements_with_.2F.3E_or_.3E.3F" title="FAQ - WHATWG Wiki"&gt;Should I close empty elements with /&gt; or &gt;?&lt;/a&gt;—WhatWG FAQ&lt;/p&gt;
&lt;/li&gt;
&lt;li id="presentational-elements"&gt;
&lt;h3&gt;HTML 5 contains presentational elements&lt;/h3&gt;
&lt;p&gt;Some ‘presentational’ elements such as &lt;a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-small-element" title="4.6 Text-level semantics  HTML 5"&gt;&lt;code&gt;&lt;small&gt;&lt;/code&gt;&lt;/a&gt; and &lt;a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-i-element" title="4.6 Text-level semantics  HTML 5"&gt;&lt;code&gt;&lt;i&gt;&lt;/code&gt;&lt;/a&gt; from HTML 4 have been retained. This is because they now have defined semantic meaning—legalese (‘small print’) and &lt;q cite="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-i-element"&gt;a span of text in an alternate voice or mood&lt;/q&gt;, like a word from another language, respectively.&lt;/p&gt;
&lt;p&gt;A few of the new structural elements such as &lt;a href="http://boblet.tumblr.com/post/134732913/html5-structure3" title="HTML5 structurenav, aside, figure, &amp; footer ・ @boblet | random notes"&gt;&lt;code&gt;&lt;aside&gt;&lt;/code&gt; and &lt;code&gt;&lt;footer&gt;&lt;/code&gt;&lt;/a&gt; can also be perceived as presentational, however the use of these elements should be dictated by their content and &lt;em&gt;not&lt;/em&gt; their placement.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Ref:&lt;/em&gt; &lt;a href="http://wiki.whatwg.org/wiki/FAQ#Why_are_some_presentational_elements_like_.3Cb.3E.2C_.3Ci.3E_and_.3Csmall.3E_still_included.3F" title="FAQ - WHATWG Wiki"&gt;Why are some presentational elements like &lt;code&gt;&lt;b&gt;&lt;/code&gt;, &lt;code&gt;&lt;i&gt;&lt;/code&gt; and &lt;code&gt;&lt;small&gt;&lt;/code&gt; still included?&lt;/a&gt;—WhatWG FAQ&lt;/p&gt;
&lt;/li&gt;
&lt;li id="purity"&gt;
&lt;h3&gt;HTML 5 isn’t as strict/pure/semantic as XHTML 1.x&lt;/h3&gt;
&lt;p&gt;Also &lt;em&gt;“HTML validators aren’t as strict as the XHTML validator”&lt;/em&gt;. While HTML 5 is more forgiving of mistakes than XHTML sent with a XML mime type, almost everyone used the &lt;code&gt;text/html&lt;/code&gt; mime type, and in that case XHTML was treated as strictly as HTML 4 (or HTML 5) by browsers. HTML 5 actually defines element semantics more precisely than XHTML 1, and adds new semantic meanings (for &lt;code&gt;&lt;small&gt;&lt;/code&gt;, &lt;code&gt;&lt;i&gt;&lt;/code&gt; etc) and elements (&lt;code&gt;&lt;article&gt;&lt;/code&gt;, &lt;code&gt;&lt;nav&gt;&lt;/code&gt; etc). HTML 5 is also much more precisely defined, enabling better conformance checkers to be created, and current HTML 5 validators (&lt;a href="http://validator.w3.org/" title="The W3C Markup Validation Service"&gt;W3C&lt;/a&gt;, &lt;a href="http://validator.nu/" title="Validator.nu"&gt;Validator.nu&lt;/a&gt;) actually seem to be a little stricter than the XHTML 1 validator.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Ref:&lt;/em&gt; &lt;a href="http://wiki.whatwg.org/wiki/HTML_vs._XHTML#Differences_Between_HTML_and_XHTML" title="HTML vs. XHTML - WHATWG Wiki"&gt;the differences between HTML and XHTML&lt;/a&gt;—WhatWG FAQ&lt;/p&gt;
&lt;/li&gt;
&lt;li id="gross"&gt;
&lt;h3&gt;HTML 5 is only what ‘Supreme Dictator for Life’ &lt;a href="http://ln.hixie.ch/" title="Hixie's Natural Log"&gt;Ian Hickson&lt;/a&gt; deigns to accept&lt;/h3&gt;
&lt;p&gt;The &lt;a href="http://www.whatwg.org/" title="Web Hypertext Application Technology Working Group"&gt;WhatWG&lt;/a&gt; and the &lt;a href="http://www.w3.org/html/wg/" title="W3C HTML Working Group"&gt;W3C HTML 5 working group&lt;/a&gt; are &lt;a href="http://wiki.whatwg.org/wiki/FAQ#The_WHATWG_Process" title="FAQ - WHATWG Wiki"&gt;using a different process&lt;/a&gt; to most other W3 projects—rather than the traditional ‘black box’ approach they accept input from anyone willing to give it, and decisions are not reached via consensus member voting. While this may seem to some like Hixie is basically playing god, he is actually working hard to base the spec on reality and achieve consensus with implementors, as they have the final say on what is implemented. So actually it would be more accurate to say &lt;a href="http://daringfireball.net/linked/2009/05/26/hickson" title="Daring Fireball Linked List: Bruce Lawson Interviews Ian Hickson, Editor of the HTML 5 Specification"&gt;HTML 5 is what the browser makers accept&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Despite the exclusionary image some have, Hixie and other WhatWG &amp; W3 HTML WG members read through and respond to a massive amount of feedback, via the &lt;a href="http://www.whatwg.org/mailing-list" title="Web Hypertext Application Technology Working Group Mailing List"&gt;WhatWG email list&lt;/a&gt; and &lt;a href="http://lists.w3.org/Archives/Public/public-html/" title="public-html@w3.org Mail Archives"&gt;W3 HTML email list&lt;/a&gt;, &lt;a href="http://wiki.whatwg.org/wiki/IRC" title="IRC - WHATWG Wiki"&gt;IRC&lt;/a&gt;, the &lt;a href="http://www.w3.org/Bugs/Public/buglist.cgi?quicksearch=ALL+product:HTML+-status:CLOSED" title="Bug List"&gt;bug tracker&lt;/a&gt;, and even weblog comments. In my experience they have been open to (and frequently requested) improvements. If you have some feedback, &lt;em&gt;by all means&lt;/em&gt; engage with the HTML 5 community (preferably after having &lt;a href="http://wiki.whatwg.org/wiki/FAQ" title="FAQ - WHATWG Wiki"&gt;checked the official FAQ&lt;/a&gt;), giving examples of real-world usage and the pros and cons for your idea. If something is confusing ask for more information in a mailing list, or even better in IRC.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Ref:&lt;/em&gt; &lt;a href="http://www.whatwg.org/" title="Web Hypertext Application Technology Working Group"&gt;WhatWG&lt;/a&gt; and &lt;a href="http://www.w3.org/html/wg/" title="W3C HTML Working Group"&gt;W3C HTML Working Group&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I hope that was of use. If you have any questions, feedback, or have found a mistake, please &lt;a href="http://twitter.com/home?status=%40boblet%20re%3A%20http%3A%2F%2Fbit.ly%2FEgVcc%20" title="via the Twitter homepage"&gt;let me know via Twitter&lt;/a&gt; (&lt;a href="http://twitter.com/boblet"&gt;@boblet)&lt;/a&gt;…&lt;/p&gt;</description><link>http://boblet.tumblr.com/post/147230293</link><guid>http://boblet.tumblr.com/post/147230293</guid><pubDate>Thu, 23 Jul 2009 11:52:00 +0900</pubDate><category>html5</category><category>html4</category><category>xhtml1</category><category>w3</category><category>whatwg</category><category>html</category><category>semantics</category><category>problem</category><category>misunderstanding</category><category>faq</category></item><item><title>HTML 5 structure—HTML 4 and XHTML 1 to HTML 5</title><description>&lt;div id="html-switcher" class="aside"&gt;&lt;/div&gt;

&lt;div id="html5-articles" class="nav"&gt;
&lt;h3&gt;Other HTML 5 articles&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://boblet.tumblr.com/post/60552152/html5" title="HTML5 id/class name cheatsheet・@boblet | random notes"&gt;HTML 5 id/class name cheatsheet&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;HTML 5 structure…
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://boblet.tumblr.com/post/130610820/html5-structure1" title="HTML5 structurediv, section &amp; article・@boblet | random notes"&gt;div, section &amp; article&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://boblet.tumblr.com/post/134276674/html5-structure2" title="HTML5 structureheader, hgroup &amp; h1-h6・@boblet | random notes"&gt;header, hgroup &amp; h1-h6&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://boblet.tumblr.com/post/134732913/html5-structure3" title="HTML5 structurenav, aside, figure, &amp; footer・@boblet | random notes"&gt;nav, aside, figure, &amp; footer&lt;/a&gt; (plus outlines)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://boblet.tumblr.com/post/141239118/html5-structure4" title="HTML5 structureHTML4 and XHTML1 to HTML5・@boblet | random notes"&gt;HTML 4 and XHTML 1 to HTML 5&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="http://bit.ly/EgVcc" title="12 common problems with HTML 5 ・ @boblet | random notes"&gt;12 common problems with HTML 5&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;

&lt;p&gt;We’ve covered a lot of ground so far. To recap, HTML5 has several new block-level sectioning elements that we can use to give relevant parts of web pages more semantic meaning. These new elements are for ‘chunks of related content’—basically a logical section of the document:&lt;/p&gt;

&lt;h3 id="sectioning-elements-overview"&gt;New sectioning elements in a nutshell&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://boblet.tumblr.com/post/130610820/html5-structure1#element-section"&gt;&lt;code&gt;&lt;section&gt;&lt;/code&gt;&lt;/a&gt;—a chunk of related content&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://boblet.tumblr.com/post/130610820/html5-structure1#element-article"&gt;&lt;code&gt;&lt;article&gt;&lt;/code&gt;&lt;/a&gt;—an independent, self-contained chunk of related content, that still &lt;em&gt;makes sense on it’s own&lt;/em&gt;&lt;ins datetime="2009-09-16T11:38:59+09:00"&gt; (eg in an RSS feed)&lt;/ins&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://boblet.tumblr.com/post/134732913/html5-structure3#element-aside"&gt;&lt;code&gt;&lt;aside&gt;&lt;/code&gt;&lt;/a&gt;—a chunk of content that is tangentially related to the content that surrounds it, but isn’t essential to understanding that content&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://boblet.tumblr.com/post/134732913/html5-structure3#element-nav"&gt;&lt;code&gt;&lt;nav&gt;&lt;/code&gt;&lt;/a&gt;—navigation for the site or page&lt;/li&gt;
&lt;li&gt;&lt;ins datetime="2009-09-16T11:09:01+09:00"&gt;(&lt;acronym title="compare with"&gt;cf&lt;/acronym&gt;. &lt;a href="http://boblet.tumblr.com/post/130610820/html5-structure1#element-div" title="HTML5 structurediv, section &amp; article ・ @boblet"&gt;&lt;code&gt;&lt;div&gt;&lt;/code&gt;&lt;/a&gt;—a chunk of content &lt;em&gt;with no additional semantics&lt;/em&gt;, eg for CSS styling hooks)&lt;/ins&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;With very few exceptions (generally in web applications) &lt;strong&gt;these new sectioning elements should have a title&lt;/strong&gt;, possibly in a &lt;code&gt;&lt;header&gt;&lt;/code&gt; element with any other introductory information. We can use this as a rule of thumb for deciding between &lt;code&gt;&lt;section&gt;&lt;/code&gt; and &lt;code&gt;&lt;div&gt;&lt;/code&gt;:&lt;/p&gt;

&lt;blockquote cite="http://html5doctor.com/the-section-element/comment-page-1/#comment-970"&gt;&lt;p&gt;consciously add a title for each &lt;code&gt;&lt;section&gt;&lt;/code&gt;, even if you then hide the title with CSS (as is generally the case with nav for accessibility). If it seems like content that shouldn’t have a title when CSS is disabled, then it’s most probably not a &lt;code&gt;&lt;section&gt;&lt;/code&gt; &lt;i&gt;(&lt;a href="http://html5doctor.com/the-section-element/comment-page-1/#comment-970" title="The section element | HTML5 Doctor"&gt;HTML5Doctor; The Section Element&lt;/a&gt;)&lt;/i&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The new sectioning elements can also contain one or more &lt;code&gt;&lt;footer&gt;&lt;/code&gt; elements with additional information, such as author (&lt;code&gt;&lt;address&gt;&lt;/code&gt;) or copyright (&lt;code&gt;&lt;small&gt;&lt;/code&gt;) info, related links etc. It’s important to note that &lt;code&gt;&lt;header&gt;&lt;/code&gt; and &lt;code&gt;&lt;footer&gt;&lt;/code&gt; (&amp; &lt;code&gt;&lt;address&gt;&lt;/code&gt;) apply to the sectioning element they’re in (this is &lt;code&gt;&lt;body&gt;&lt;/code&gt; for a page header or footer). &lt;code&gt;&lt;header&gt;&lt;/code&gt; and &lt;code&gt;&lt;footer&gt;&lt;/code&gt; can’t contain other &lt;code&gt;&lt;header&gt;&lt;/code&gt;s and &lt;code&gt;&lt;footer&gt;&lt;/code&gt;s.&lt;/p&gt;

&lt;p&gt;Finally, while the words “header”, “footer” and “aside” all come with preconceptions, &lt;strong&gt;their semantic meaning comes from the types of content they contain&lt;/strong&gt;, &lt;em&gt;not&lt;/em&gt; from their presentation or relative placement. For example, &lt;a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/commands.html#footnotes" title="4.11.4 Commands  HTML5"&gt;&lt;code&gt;&lt;aside&gt;&lt;/code&gt; could contain a footnote&lt;/a&gt;, and a &lt;code&gt;&lt;footer&gt;&lt;/code&gt; containing a ‘Top of Page’ link could appear at both the top and bottom of a section.&lt;/p&gt;

&lt;p&gt;Now let’s look at example structures for a basic article page; using the standard layout of a page header (with logo etc), navigation tabs, a main column, a side column, and a page footer.&lt;/p&gt;

&lt;h3 id="article-page"&gt;
&lt;del datetime="2009-07-22T11:30:00+09:00"&gt;Article Page&lt;/del&gt;&lt;ins datetime="2009-07-22T11:30:00+09:00"&gt;Converting a simple page to HTML 5&lt;/ins&gt;&lt;mark&gt;&lt;a href="http://boblet.tumblr.com/post/141239118/html5-structure4#article-page"&gt;#&lt;/a&gt;&lt;/mark&gt;
&lt;/h3&gt;

&lt;p&gt;Here’s the outline of the parts of our page:&lt;/p&gt;

&lt;div class="group"&gt;
&lt;div id="article-page-layout" class="aside img"&gt;
&lt;img src="http://oli-studio.com/html5/structure/article-page-layout.png" width="309" height="341" alt="Article Page Layout"/&gt;
&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;Page header (site name, logo, search…)&lt;/li&gt;
&lt;li&gt;Main navigation&lt;/li&gt;
&lt;li&gt;Main content (wrapper)
&lt;ul&gt;
&lt;li&gt;Article (main column)
&lt;ul&gt;
&lt;li&gt;Article title&lt;/li&gt;
&lt;li&gt;Article metadata&lt;/li&gt;
&lt;li&gt;Article content…&lt;/li&gt;
&lt;li&gt;Article footer&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Sidebar
&lt;ul&gt;
&lt;li&gt;Sidebar title&lt;/li&gt;
&lt;li&gt;Sidebar content…&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Page Footer&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;

&lt;p class="html"&gt;So let’s write that in standard &lt;acronym title="plain old semantic HTML"&gt;POSH&lt;/acronym&gt; HTML4:&lt;/p&gt;

&lt;pre id="example1-html" class="html"&gt;&lt;code&gt;&lt;span class="text_html"&gt;&lt;span class="meta_tag"&gt;&lt;!&lt;span class="meta_tag"&gt;&lt;span class="meta_tag_sgml_doctype"&gt;DOCTYPE html PUBLIC&lt;/span&gt; &lt;span class="string"&gt;"-//W3C//DTD HTML 4.01//EN"&lt;/span&gt;
   &lt;span class="string"&gt;"http://www.w3.org/TR/html4/strict.dtd"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;html lang="en"&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;head&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;title&gt;&lt;/span&gt;Article (HTML4)&lt;span class="meta_tag"&gt;&lt;/title&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;meta http-equiv=&lt;span class="string"&gt;"Content-Type"&lt;/span&gt; content=&lt;span class="string"&gt;"text/html; charset=utf-8"&lt;/span&gt;&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/head&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;body&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"branding"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Site name&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
      &lt;span class="comment comment_block"&gt;&lt;!-- other page heading content --&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;ul &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"nav"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;li&gt;&lt;/span&gt;Site navigation&lt;span class="meta_tag"&gt;&lt;/li&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;/ul&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"content"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"main"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- main content (the article) --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Article title&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p &lt;span class="meta_attribute-with-value"&gt;class=&lt;span class="string"&gt;"meta"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;Article metadata&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Article content…&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p &lt;span class="meta_attribute-with-value"&gt;class=&lt;span class="string"&gt;"article-footer"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;Article footer&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"sidebar"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- secondary content --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;h2&gt;&lt;/span&gt;Sidebar title&lt;span class="meta_tag"&gt;&lt;/h2&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Sidebar content…&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"footer"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;Footer&lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/body&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;/html&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p class="xhtml"&gt;So let’s write that in standard &lt;acronym title="plain old semantic HTML"&gt;POSH&lt;/acronym&gt; XHTML1.0:&lt;/p&gt;

&lt;pre id="example1-xhtml" class="xhtml"&gt;&lt;code&gt;&lt;span class="text_html"&gt;&lt;span class="meta_tag"&gt;&lt;!&lt;span class="meta_tag"&gt;&lt;span class="meta_tag_sgml_doctype"&gt;DOCTYPE html PUBLIC&lt;/span&gt; &lt;span class="string"&gt;"-//W3C//DTD XHTML 1.0 Strict//EN"&lt;/span&gt;
  &lt;span class="string"&gt;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;html lang=&lt;span class="string"&gt;"en"&lt;/span&gt; xml:lang=&lt;span class="string"&gt;"en"&lt;/span&gt;&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;head&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;title&gt;&lt;/span&gt;Article (XHTML1)&lt;span class="meta_tag"&gt;&lt;/title&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;meta http-equiv=&lt;span class="string"&gt;"Content-Type"&lt;/span&gt; content=&lt;span class="string"&gt;"text/html; charset=utf-8"&lt;/span&gt; /&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/head&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;body&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"branding"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Site name&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
      &lt;span class="comment comment_block"&gt;&lt;!-- other page heading content --&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;ul &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"nav"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;li&gt;&lt;/span&gt;Site navigation&lt;span class="meta_tag"&gt;&lt;/li&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;/ul&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"content"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"main"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- main content (the article) --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Article title&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p &lt;span class="meta_attribute-with-value"&gt;class=&lt;span class="string"&gt;"meta"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;Article metadata&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Article content…&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p &lt;span class="meta_attribute-with-value"&gt;class=&lt;span class="string"&gt;"article-footer"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;Article footer&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"sidebar"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- secondary content --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;h2&gt;&lt;/span&gt;Sidebar title&lt;span class="meta_tag"&gt;&lt;/h2&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Sidebar content…&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"footer"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;Footer&lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/body&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;/html&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now let’s convert that to HTML5, using the new structural elements:&lt;/p&gt;

&lt;pre id="example2-html" class="html"&gt;&lt;code&gt;&lt;span class="text_html"&gt;&lt;span class="comment comment_block"&gt;&lt;!-- 'HTML-style' HTML5 --&gt;&lt;/span&gt;
&lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;!&lt;span class="meta_tag_sgml_doctype"&gt;DOCTYPE html&lt;/span&gt;&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="meta_tag"&gt;&lt;html lang=&lt;span class="string"&gt;"en"&lt;/span&gt;&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;head&gt;&lt;/span&gt;
    &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;meta charset=&lt;span class="string"&gt;"utf-8"&lt;/span&gt;&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="meta_tag"&gt;&lt;title&gt;&lt;/span&gt;Article (HTML5)&lt;span class="meta_tag"&gt;&lt;/title&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/head&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;body&gt;&lt;/span&gt;
    &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;header &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"branding"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="comment comment_block"&gt;&lt;!-- page header (not in section etc) --&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Site name&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
      &lt;span class="comment comment_block"&gt;&lt;!-- other page heading content --&gt;&lt;/span&gt;
    &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;/header&gt;&lt;/span&gt;&lt;/mark&gt;&lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;nav&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="meta_tag"&gt;&lt;ul&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;li&gt;&lt;/span&gt;Main navigation&lt;span class="meta_tag"&gt;&lt;/li&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/ul&gt;&lt;/span&gt;
    &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;/nav&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"content"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- wrapper for CSS styling &amp; no title so not section --&gt;&lt;/span&gt;
      &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;article&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="comment comment_block"&gt;&lt;!-- main content (the article) --&gt;&lt;/span&gt;
        &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;header&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Article title&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
          &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Article metadata&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;/header&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Article content…&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;footer&gt;&lt;/span&gt;Article footer&lt;span class="meta_tag"&gt;&lt;/footer&gt;&lt;/span&gt;&lt;/mark&gt;&lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;/article&gt;&lt;/span&gt;&lt;/mark&gt;&lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;aside &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"sidebar"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="comment comment_block"&gt;&lt;!-- secondary content for page (not related to article) --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Sidebar title&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- ref: &lt;a href="http://boblet.tumblr.com/post/134276674/html5-structure2#html5-heading-levels" title="HTML5 structureheader, hgroup &amp; h1-h6 ・ @boblet"&gt;HTML5-style heading element levels&lt;/a&gt; --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Sidebar content&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
      &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;/aside&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;footer &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"footer"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;&lt;/mark&gt;Footer&lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;/footer&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="comment comment_block"&gt;&lt;!-- page footer (not in section etc) --&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/body&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;/html&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;pre id="example2-xhtml" class="xhtml"&gt;&lt;code&gt;&lt;span class="text_html"&gt;&lt;span class="comment comment_block"&gt;&lt;!-- 'XHTML-style' HTML5 --&gt;&lt;/span&gt;
&lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;!&lt;span class="meta_tag_sgml_doctype"&gt;DOCTYPE html&lt;/span&gt;&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="meta_tag"&gt;&lt;html lang=&lt;span class="string"&gt;"en"&lt;/span&gt;&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;head&gt;&lt;/span&gt;
    &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;meta charset=&lt;span class="string"&gt;"utf-8"&lt;/span&gt; /&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="meta_tag"&gt;&lt;title&gt;&lt;/span&gt;Article (HTML5)&lt;span class="meta_tag"&gt;&lt;/title&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/head&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;body&gt;&lt;/span&gt;
    &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;header &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"branding"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="comment comment_block"&gt;&lt;!-- page header (not in section etc) --&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Site name&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
      &lt;span class="comment comment_block"&gt;&lt;!-- other page heading content --&gt;&lt;/span&gt;
    &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;/header&gt;&lt;/span&gt;&lt;/mark&gt;&lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;nav&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="meta_tag"&gt;&lt;ul&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;li&gt;&lt;/span&gt;Main navigation&lt;span class="meta_tag"&gt;&lt;/li&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/ul&gt;&lt;/span&gt;
    &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;/nav&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"content"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- wrapper for CSS styling &amp; no title so not section --&gt;&lt;/span&gt;
      &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;article&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="comment comment_block"&gt;&lt;!-- main content (the article) --&gt;&lt;/span&gt;
        &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;header&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Article title&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
          &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Article metadata&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;/header&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Article content…&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;footer&gt;&lt;/span&gt;&lt;/mark&gt;Article footer&lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;/footer&gt;&lt;/span&gt;&lt;/mark&gt;&lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;/article&gt;&lt;/span&gt;&lt;/mark&gt;&lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;aside &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"sidebar"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="comment comment_block"&gt;&lt;!-- secondary content for page (not related to article) --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Sidebar title&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- ref: &lt;a href="http://boblet.tumblr.com/post/134276674/html5-structure2#html5-heading-levels" title="HTML5 structureheader, hgroup &amp; h1-h6 ・ @boblet"&gt;HTML5-style heading element levels&lt;/a&gt; --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Sidebar content&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
      &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;/aside&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;footer &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"footer"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;&lt;/mark&gt;Footer&lt;mark&gt;&lt;span class="meta_tag"&gt;&lt;/footer&gt;&lt;/span&gt;&lt;/mark&gt;&lt;span class="comment comment_block"&gt;&lt;!-- page footer (not in section etc) --&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/body&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;/html&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Note here we assume that the sidebar contains content not related to the article (such as recent articles etc)&lt;ins datetime="2009-09-14T18:50:15+09:00"&gt;, so it’s a descendent of &lt;code&gt;&lt;body&gt;&lt;/code&gt; (page sidebar) not &lt;code&gt;&lt;article&gt;&lt;/code&gt;&lt;/ins&gt;. If it only contained content tangentially related to the article we could &lt;del datetime="2009-09-14T20:22:30+09:00"&gt;use &lt;code&gt;&lt;aside&gt;&lt;/code&gt;&lt;/del&gt;&lt;ins datetime="2009-09-14T20:21:21+09:00"&gt;make &lt;code&gt;&lt;aside&gt;&lt;/code&gt; a child of &lt;code&gt;&lt;article&gt;&lt;/code&gt;&lt;/ins&gt;. Also we assume that the &lt;del datetime="2009-09-12T14:46:00+09:00"&gt;&lt;code&gt;&lt;footer&gt;&lt;/code&gt; doesn’t contain much more than a copyright statement and contact information—a detailed footer with headings etc&lt;/del&gt;&lt;ins datetime="2009-09-12T14:46:00+09:00"&gt;page header and footer don’t contain nested &lt;code&gt;&lt;header&gt;&lt;/code&gt; or &lt;code&gt;&lt;footer&gt;&lt;/code&gt; elements—a complex page header/footer requiring these&lt;/ins&gt; would need it’s own &lt;code&gt;&lt;section&gt;&lt;/code&gt;.&lt;/p&gt;

&lt;ins id="ins-1" datetime="2009-07-16T13:30:00+09:00"&gt;
&lt;ins id="ins-2" datetime="2009-07-19T09:30:00+09:00"&gt;&lt;h3 id="xhtml-style"&gt;
&lt;code&gt;doctype&lt;/code&gt;, &lt;code&gt;charset&lt;/code&gt; &amp; XHTML-style markup&lt;mark&gt;&lt;a href="http://boblet.tumblr.com/post/141239118/html5-structure4#xhtml-style"&gt;#&lt;/a&gt;&lt;/mark&gt;
&lt;/h3&gt;&lt;/ins&gt;
&lt;p&gt;You’ll notice the &lt;code&gt;doctype&lt;/code&gt; and &lt;code&gt;charset&lt;/code&gt; are both much simpler. &lt;ins datetime="2009-07-22T18:00:00+09:00"&gt;HTML5 is case-insensitive, but WhatWG recommend this style of &lt;code&gt;doctype&lt;/code&gt; as it will also work in XHTML (which &lt;em&gt;is&lt;/em&gt; case sensitive). &lt;/ins&gt;While this style &lt;code&gt;charset&lt;/code&gt; is recommended, the &lt;a href="http://oli-studio.com/bugs/validator/html5-charset/" title="HTML5 charset testing &amp; the W3 validator"&gt;pre-HTML5 &lt;code&gt;charset&lt;/code&gt; declarations are still valid&lt;/a&gt;. Also, if you’re viewing XHTML-style code examples&lt;ins datetime="2009-09-16T13:29:14+09:00"&gt; (there’s a handy &lt;a href="#html-switcher"&gt;HTML/XHTML code style switcher&lt;/a&gt; top right)&lt;/ins&gt;, you’ll note that the &lt;code&gt;charset&lt;/code&gt; element still has an XHTML-style trailing slash in the HTML5 example. In fact &lt;em&gt;XHTML-style markup&lt;/em&gt; (a closing / on empty elements) like this is also valid HTML5! This makes it very easy to migrate to HTML5 from both HTML and XHTML pages. You should try to avoid mixing HTML and XHTML-style code, however—choose one style and stick with it.&lt;/p&gt;

&lt;h3 id="html5-xhtml5"&gt;HTML5 or XHTML5? &lt;em&gt;Choose HTML5&lt;/em&gt;&lt;mark&gt;&lt;a href="http://boblet.tumblr.com/post/141239118/html5-structure4#html5-xhtml5"&gt;#&lt;/a&gt;&lt;/mark&gt;
&lt;/h3&gt;

&lt;p&gt;If you currently use XHTML1.x you might be thinking to use &lt;a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-xhtml-syntax.html" title="10 The XHTML syntax  HTML5"&gt;XHTML5, the XML-compatible version of HTML5&lt;/a&gt;. If your website will have a general audience (=people using &lt;acronym title="Internet Explorer"&gt;IE&lt;/acronym&gt;), &lt;strong&gt;don’t&lt;/strong&gt;. &lt;a href="http://wiki.whatwg.org/wiki/HTML_vs._XHTML" title="HTML vs. XHTML - WHATWG Wiki"&gt;XHTML5 &lt;em&gt;must&lt;/em&gt; be sent with an XML mime type&lt;/a&gt; (like &lt;code&gt;application/xhtml+xml&lt;/code&gt;), and even IE8 still doesn’t support this. However, all of the hallmarks of XHTML coding—writing elements in lower case, &lt;a href="http://www.whatwg.org/specs/web-apps/current-work/#a-quick-introduction-to-html" title="HTML5"&gt;correct nesting&lt;/a&gt;, closing tags, adding optional elements that add meaning—are all compatible (HTML5 is case-insensitive) or encouraged in HTML5.&lt;/p&gt;
&lt;/ins&gt;

&lt;h3 id="browser-support"&gt;Browser support (via CSS and JS)&lt;mark&gt;&lt;a href="http://boblet.tumblr.com/post/141239118/html5-structure4#browser-support"&gt;#&lt;/a&gt;&lt;/mark&gt;
&lt;/h3&gt;

&lt;p&gt;So, does it work? Currently the HTML5 structural elements will work in modern browsers (Firefox 3+, Safari 3+, Opera 9+, Chrome 1+&lt;!-- ?? to check --&gt;) as long as we declare them as block-level elements via this CSS:&lt;/p&gt;

&lt;pre id="example3"&gt;&lt;code&gt;&lt;span class="source_css"&gt;&lt;span class="comment comment_block"&gt;/* Declaring HTML5 elements */&lt;/span&gt;
&lt;span class="meta_selector"&gt;&lt;span class="entity_name_tag_css"&gt;article,aside,&lt;ins datetime="2009-09-14T23:19:55+09:00"&gt;details,&lt;/ins&gt;&lt;del datetime="2009-09-16T14:15:10+09:00"&gt;dialog,&lt;/del&gt;figure,footer,header,&lt;ins datetime="2009-09-14T23:20:22+09:00"&gt;hgroup,menu&lt;/ins&gt;,nav,section&lt;/span&gt;&lt;/span&gt;&lt;span class="meta_property-list"&gt;{
  &lt;span class="meta_property-name"&gt;&lt;span class="support_type_property-name_css"&gt;display&lt;/span&gt;&lt;/span&gt;&lt;span class="meta_property-value"&gt;: &lt;span class="support_constant_property-value_css"&gt;block&lt;/span&gt;;&lt;/span&gt;
  }&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and &lt;a href="http://remysharp.com/2009/01/07/html5-enabling-script/" title="HTML5 enabling script"&gt;in Internet Explorer 8 and below we need to hack support in via Javascript&lt;/a&gt; (I bet you didn’t see that coming ;-)&lt;/p&gt;

&lt;pre id="example4"&gt;&lt;code&gt;&lt;span class="source_js"&gt;(&lt;span class="meta meta_function meta_function_js"&gt;&lt;span class="storage storage_type storage_type_function storage_type_function_js"&gt;function&lt;/span&gt;(){&lt;span class="keyword keyword_control"&gt;if&lt;/span&gt;(&lt;span class="keyword keyword_operator"&gt;!&lt;/span&gt;&lt;span class="comment comment_block comment_block_conditional comment_block_conditional_js"&gt;/*@cc_on!@*/&lt;/span&gt;&lt;span class="constant constant_numeric"&gt;0&lt;/span&gt;)&lt;span class="keyword keyword_control"&gt;return&lt;/span&gt;;var e &lt;span class="keyword keyword_operator"&gt;=&lt;/span&gt; &lt;span class="string"&gt;"abbr,article,aside,audio,&lt;del datetime="2009-09-16T14:15:31+09:00"&gt;bb,&lt;/del&gt;canvas,&lt;del datetime="2009-09-16T14:16:51+09:00"&gt;datagrid,&lt;/del&gt;datalist,details,&lt;del datetime="2009-09-16T14:15:48+09:00"&gt;dialog,&lt;/del&gt;eventsource,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video"&lt;/span&gt;.&lt;span class="support_function"&gt;split&lt;/span&gt;(&lt;span class="string"&gt;','&lt;/span&gt;),i&lt;span class="keyword keyword_operator"&gt;=&lt;/span&gt;e.length;&lt;span class="keyword keyword_control"&gt;while&lt;/span&gt;(i&lt;span class="keyword keyword_operator"&gt;--&lt;/span&gt;){document.&lt;span class="support_function"&gt;createElement&lt;/span&gt;(e[i])}}&lt;/span&gt;)()&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The recommended way to add this Javascript is via &lt;a href="http://code.google.com/p/html5shiv/" title="html5shiv - Google Code"&gt;Remy Sharp’s Google Code-hosted HTLM5 shiv for IE&lt;/a&gt; in the page &lt;code&gt;&lt;head&gt;&lt;/code&gt;:&lt;/p&gt;

&lt;pre id="example7"&gt;&lt;code&gt;&lt;span class="text_html"&gt;&lt;span class="comment comment_block"&gt;&lt;!--[if IE]&gt;
&lt;script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"&gt;&lt;/script&gt;
&lt;![endif]--&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;So, all together now…&lt;/p&gt;

&lt;pre id="example8"&gt;&lt;code&gt;&lt;span class="text_html"&gt;&lt;span class="meta_tag"&gt;&lt;head&gt;&lt;/span&gt;
  &lt;span class="comment comment_block"&gt;&lt;!--[if IE]&gt;
    &lt;script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"&gt;&lt;/script&gt;
  &lt;![endif]--&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;style type=&lt;span class="string"&gt;"text/css"&lt;/span&gt; media=&lt;span class="string"&gt;"screen"&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;/* Declaring HTML5 elements */&lt;/span&gt;
  &lt;span class="source_css"&gt;&lt;span class="meta_selector"&gt;&lt;span class="entity_name_tag_css"&gt;article,aside,&lt;ins datetime="2009-09-14T23:19:55+09:00"&gt;details,&lt;/ins&gt;&lt;del datetime="2009-09-16T14:15:10+09:00"&gt;dialog,&lt;/del&gt;figure,footer,header,&lt;ins datetime="2009-09-14T23:20:22+09:00"&gt;hgroup,menu&lt;/ins&gt;,nav,section&lt;/span&gt;&lt;/span&gt;&lt;span class="meta_property-list"&gt;{
    &lt;span class="meta_property-name"&gt;&lt;span class="support_type_property-name_css"&gt;display&lt;/span&gt;&lt;/span&gt;&lt;span class="meta_property-value"&gt;: &lt;span class="support_constant_property-value_css"&gt;block&lt;/span&gt;;&lt;/span&gt;
    }&lt;/span&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/style&gt;&lt;/span&gt;
  …
&lt;span class="meta_tag"&gt;&lt;/head&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;h3 id="ie-no-go"&gt;…but IE requiring JS means we’re screwed, right?&lt;mark&gt;&lt;a href="http://boblet.tumblr.com/post/141239118/html5-structure4#ie-no-go"&gt;#&lt;/a&gt;&lt;/mark&gt;
&lt;/h3&gt;

&lt;p&gt;You can easily choose to not worry about IE with Javascript turned off on a personal weblog, but if an IE user has &lt;acronym title="Javascript"&gt;JS&lt;/acronym&gt; disabled the new elements (and their associated styling) will be dropped, and the page will ass-plode (feel that déjà vu). While Javascript is becoming more of a requirement with the rise of web apps, IE needing Javascript will probably still be a show-stopper on commercial projects.&lt;/p&gt;

&lt;p&gt;You might think that IE’s lack of support without Javascript for these new elements means you can’t use HTML5 at all, but there are two ways we can still benefit from HTML5’s greater semantic richness—by using HTML5 semantic element names as class names on &lt;code&gt;&lt;div&gt;&lt;/code&gt;&lt;ins datetime="2009-09-16T14:34:58+09:00"&gt; (so-called HTML4.5)&lt;/ins&gt;, in either HTML4/XHTML1.0 or HTML5. You’re probably already using a standard set of class and id names anyway, and this is in effect &lt;a href="http://boblet.tumblr.com/post/60552152/html5" title="HTML5 id/class name cheatsheet ・ @boblet | random notes"&gt;a standardised set of semantic class names&lt;/a&gt;. HTML5 is basically a superset of HTML4/XHTML1, so &lt;em&gt;as long as you don’t use any new elements &lt;strong&gt;HTML5 pages will work in IE&lt;/strong&gt;&lt;/em&gt;. It also has the benefits of simplifying a future move to HTML5, and if you use the HTML5 doctype you can also use the more detailed HTML5 validators.&lt;/p&gt;

&lt;h3 id="using-html5-today"&gt;Adding HTML5’s semantics via &lt;code&gt;&lt;div class=""&gt;&lt;/code&gt;&lt;mark&gt;&lt;a href="http://boblet.tumblr.com/post/141239118/html5-structure4#using-html5-today"&gt;#&lt;/a&gt;&lt;/mark&gt;
&lt;/h3&gt;

&lt;p class="html"&gt;Here’s the HTML4 version using HTML5 class names:&lt;/p&gt;

&lt;pre id="example5-html" class="html"&gt;&lt;code&gt;&lt;span class="text_html"&gt;&lt;span class="meta_tag"&gt;&lt;!&lt;span class="meta_tag"&gt;&lt;span class="meta_tag_sgml_doctype"&gt;DOCTYPE html PUBLIC&lt;/span&gt; &lt;span class="string"&gt;"-//W3C//DTD HTML 4.01//EN"&lt;/span&gt;
   &lt;span class="string"&gt;"http://www.w3.org/TR/html4/strict.dtd"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;html lang=&lt;span class="string"&gt;"en"&lt;/span&gt;&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;head&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;title&gt;&lt;/span&gt;Article (HTML4), with HTML5 class names&lt;span class="meta_tag"&gt;&lt;/title&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;meta http-equiv=&lt;span class="string"&gt;"Content-Type"&lt;/span&gt; content=&lt;span class="string"&gt;"text/html; charset=utf-8"&lt;/span&gt;&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/head&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;body&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"page-header"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"header"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- page header (note class="header") --&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Site name&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
      &lt;span class="comment comment_block"&gt;&lt;!-- other page heading content --&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;ul &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"main-nav"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"nav"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;li&gt;&lt;/span&gt;Site navigation&lt;span class="meta_tag"&gt;&lt;/li&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/ul&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"content"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"main"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"article"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- main content --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;div &lt;mark&gt;class=&lt;span class="string"&gt;"header"&lt;/span&gt;&lt;/mark&gt;&gt;&lt;/span&gt;
          &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Article title&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
          &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Article metadata&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Article content…&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p &lt;span class="meta_attribute-with-value"&gt;class=&lt;span class="string"&gt;"&lt;mark&gt;footer&lt;/mark&gt;"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;Article footer&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"sidebar"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"aside"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- secondary content --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;h2&gt;&lt;/span&gt;Sidebar title&lt;span class="meta_tag"&gt;&lt;/h2&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Sidebar content…&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"page-footer"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"footer"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt;Footer&lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/body&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;/html&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p class="xhtml"&gt;Here’s the XHTML1 version using HTML5 class names:&lt;/p&gt;

&lt;pre id="example5-xhtml" class="xhtml"&gt;&lt;code&gt;&lt;span class="text_html"&gt;&lt;span class="meta_tag"&gt;&lt;!&lt;span class="meta_tag"&gt;&lt;span class="meta_tag_sgml_doctype"&gt;DOCTYPE html PUBLIC&lt;/span&gt; &lt;span class="string"&gt;"-//W3C//DTD XHTML 1.0 Strict//EN"&lt;/span&gt;
  &lt;span class="string"&gt;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;html lang=&lt;span class="string"&gt;"en"&lt;/span&gt; xml:lang=&lt;span class="string"&gt;"en"&lt;/span&gt;&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;head&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;title&gt;&lt;/span&gt;Article (XHTML1), with HTML5 class names&lt;span class="meta_tag"&gt;&lt;/title&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;meta http-equiv=&lt;span class="string"&gt;"Content-Type"&lt;/span&gt; content=&lt;span class="string"&gt;"text/html; charset=utf-8"&lt;/span&gt; /&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/head&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;body&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"page-header"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"header"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- page header --&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Site name&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
      &lt;span class="comment comment_block"&gt;&lt;!-- other page heading content --&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;ul &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"main-nav"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"nav"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;li&gt;&lt;/span&gt;Site navigation&lt;span class="meta_tag"&gt;&lt;/li&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/ul&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"content"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"main"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"article"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- main content --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;div &lt;mark&gt;class=&lt;span class="string"&gt;"header"&lt;/span&gt;&lt;/mark&gt;&gt;&lt;/span&gt;
          &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Article title&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
          &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Article metadata&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Article content…&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p &lt;mark&gt;&lt;span class="meta_attribute-with-value"&gt;class=&lt;span class="string"&gt;"footer"&lt;/span&gt;&lt;/span&gt;&lt;/mark&gt;&gt;&lt;/span&gt;Article footer&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"sidebar"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"aside"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- secondary content --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;h2&gt;&lt;/span&gt;Sidebar title&lt;span class="meta_tag"&gt;&lt;/h2&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Sidebar content…&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"page-footer"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"footer"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt;Footer&lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/body&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;/html&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now in HTML5, again using &lt;code&gt;&lt;div&gt;&lt;/code&gt; with HTML5 class names rather than the new HTML5 elements:&lt;/p&gt;

&lt;pre id="example6-html" class="html"&gt;&lt;code&gt;&lt;span class="text_html"&gt;&lt;span class="comment comment_block"&gt;&lt;!-- 'HTML-style' HTML5 --&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;!&lt;span class="meta_tag_sgml_doctype"&gt;DOCTYPE html&lt;/span&gt;&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;html lang=&lt;span class="string"&gt;"en"&lt;/span&gt;&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;head&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;title&gt;&lt;/span&gt;Article (HTML5), with HTML5 class names&lt;span class="meta_tag"&gt;&lt;/title&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;meta charset=&lt;span class="string"&gt;"utf-8"&lt;/span&gt;&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/head&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;body&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"page-header"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"header"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- page header --&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Site name&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
      &lt;span class="comment comment_block"&gt;&lt;!-- other page heading content --&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;ul &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"main-nav"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"nav"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;li&gt;&lt;/span&gt;Site navigation&lt;span class="meta_tag"&gt;&lt;/li&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/ul&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"content"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"main"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"article"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- main content --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;div &lt;mark&gt;&lt;span class="meta_attribute-with-value"&gt;class=&lt;span class="string"&gt;"header"&lt;/span&gt;&lt;/span&gt;&lt;/mark&gt;&gt;&lt;/span&gt;
          &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Article title&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
          &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Article metadata&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Article content…&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p &lt;mark&gt;&lt;span class="meta_attribute-with-value"&gt;class=&lt;span class="string"&gt;"footer"&lt;/span&gt;&lt;/span&gt;&lt;/mark&gt;&gt;&lt;/span&gt;Article footer&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"sidebar"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"aside"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- secondary content --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;h2&gt;&lt;/span&gt;Sidebar title&lt;span class="meta_tag"&gt;&lt;/h2&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Sidebar content…&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"page-footer"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"footer"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt;Footer&lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/body&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;/html&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;pre id="example6-xhtml" class="xhtml"&gt;&lt;code&gt;&lt;span class="text_html"&gt;&lt;span class="comment comment_block"&gt;&lt;!-- 'XHTML-style' HTML5 --&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;!&lt;span class="meta_tag_sgml_doctype"&gt;DOCTYPE html&lt;/span&gt;&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;html lang=&lt;span class="string"&gt;"en"&lt;/span&gt;&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;head&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;title&gt;&lt;/span&gt;Article (HTML5), with HTML5 class names&lt;span class="meta_tag"&gt;&lt;/title&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;meta charset=&lt;span class="string"&gt;"utf-8"&lt;/span&gt; /&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/head&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;body&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"page-header"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"header"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- page header --&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Site name&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
      &lt;span class="comment comment_block"&gt;&lt;!-- other page heading content --&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;ul &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"main-nav"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"nav"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;li&gt;&lt;/span&gt;Site navigation&lt;span class="meta_tag"&gt;&lt;/li&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/ul&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"content"&lt;/span&gt;&lt;/span&gt;&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"main"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"article"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- main content --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;div &lt;mark&gt;&lt;span class="meta_attribute-with-value"&gt;class=&lt;span class="string"&gt;"header"&lt;/span&gt;&lt;/span&gt;&lt;/mark&gt;&gt;&lt;/span&gt;
          &lt;span class="meta_tag"&gt;&lt;h1&gt;&lt;/span&gt;Article title&lt;span class="meta_tag"&gt;&lt;/h1&gt;&lt;/span&gt;
          &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Article metadata&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Article content…&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p &lt;mark&gt;&lt;span class="meta_attribute-with-value"&gt;class=&lt;span class="string"&gt;"footer"&lt;/span&gt;&lt;/span&gt;&lt;/mark&gt;&gt;&lt;/span&gt;Article footer&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"sidebar"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"aside"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt; &lt;span class="comment comment_block"&gt;&lt;!-- secondary content --&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;h2&gt;&lt;/span&gt;Sidebar title&lt;span class="meta_tag"&gt;&lt;/h2&gt;&lt;/span&gt;
        &lt;span class="meta_tag"&gt;&lt;p&gt;&lt;/span&gt;Sidebar content…&lt;span class="meta_tag"&gt;&lt;/p&gt;&lt;/span&gt;
      &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
    &lt;span class="meta_tag"&gt;&lt;div &lt;span class="meta_attribute-with-value"&gt;id=&lt;span class="string"&gt;"page-footer"&lt;/span&gt; &lt;mark&gt;class=&lt;span class="string"&gt;"footer"&lt;/span&gt;&lt;/mark&gt;&lt;/span&gt;&gt;&lt;/span&gt;Footer&lt;span class="meta_tag"&gt;&lt;/div&gt;&lt;/span&gt;
  &lt;span class="meta_tag"&gt;&lt;/body&gt;&lt;/span&gt;
&lt;span class="meta_tag"&gt;&lt;/html&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;You may be wondering why these two examples are so similar—after all, only the doctype and charset differ! That’s because one of &lt;a href="http://www.w3.org/TR/html-design-principles/#compatibility" title="HTML Design Principles"&gt;HTML5’s core principles is &lt;em&gt;compatibility&lt;/em&gt;&lt;/a&gt;. If we don’t use any new HTML5 elements, a change of doctype might be all that’s required to convert a well-coded HTML or XHTML page to HTML5.&lt;/p&gt;

&lt;h3 id="why-html5"&gt;Why bother with HTML5?&lt;mark&gt;&lt;a href="http://boblet.tumblr.com/post/141239118/html5-structure4#why-html5"&gt;#&lt;/a&gt;&lt;/mark&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;del datetime="2009-09-16T18:00:44+09:00"&gt;So if you’re not going to use HTML5’s new elements, which IE doesn’t support without Javascript&lt;/del&gt;&lt;ins datetime="2009-09-16T18:01:56+09:00"&gt;Hopefully by now you’re feeling excited about using HTML5 for a personal project. But if you’ve decided not to use HTML5’s new elements because IE doesn’t support them without Javascript&lt;/ins&gt;, what’s the point of thinking about HTML5 now? I see several benefits:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Thinking about HTML5’s structural elements (even if we only &lt;a href="http://boblet.tumblr.com/post/60552152/html5" title="HTML5 id/class name cheatsheet ・ @boblet | random notes"&gt;express the semantics via class names&lt;/a&gt; as described above) will make our code more logical and semantic&lt;/li&gt;
&lt;li&gt;
&lt;a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/" title="HTML5"&gt;HTML5 is defined in far greater detail&lt;/a&gt; than previous HTML/XHTML specs, giving us more guidance in creating web pages&lt;/li&gt;
&lt;li&gt;Another benefit of this detail is more accurate validators (&lt;a href="http://validator.w3.org/" title="The W3C Markup Validation Service"&gt;W3C&lt;/a&gt;, &lt;a href="http://validator.nu/" title="Validator.nu"&gt;Validator.nu&lt;/a&gt;), with the potential for more detailed error messages&lt;/li&gt;
&lt;li&gt;If you think you might convert to HTML5 in the future, the HTML-5-elements-as-class-names approach should remove a lot of the pain of converting (especially with a little regexp magic)&lt;/li&gt;
&lt;li&gt;Now that &lt;a href="http://www.zeldman.com/2009/07/02/xhtml-wtf/" title="XHTML DOA WTF  – Jeffrey Zeldman Presents The Daily Report"&gt;XHTML2 development will be halted&lt;/a&gt;, starting to learn about the official future of HTML is a Good Idea™&lt;/li&gt;
&lt;li&gt;&lt;ins id="ins-4" datetime="2009-07-19T09:30:00+09:00"&gt;&lt;a href="http://html5doctor.com/your-questions-answered-1/#comment-175" title="Your questions answered #1 | HTML5 Doctor"&gt;Using HTML5 is a &lt;em&gt;sliding scale&lt;/em&gt;, not all or nothing&lt;/a&gt;. You can get benefits from simply &lt;a href="http://html5doctor.com/html-5-boilerplates/" title="HTML5 Boilerplates | HTML5 Doctor"&gt;changing the &lt;code&gt;doctype&lt;/code&gt;, a five second job&lt;/a&gt;.&lt;/ins&gt;&lt;/li&gt;
&lt;li&gt;&lt;ins id="ins-5" datetime="2009-07-19T09:30:00+09:00"&gt;Because &lt;a href="http://wiki.whatwg.org/wiki/FAQ#How_are_pre-HTML5_documents_parsed.3F" title="FAQ - WHATWG Wiki"&gt;browsers use the same parser for HTML5 as HTML4/XHTML1&lt;/a&gt;, and because backwards compatibility is a central tenet, using an HTML5 &lt;code&gt;doctype&lt;/code&gt; today has almost no disadvantages (make sure to check &lt;a href="http://www.w3.org/TR/html5-diff/" title="HTML 5 differences from HTML 4"&gt;HTML5 differences from HTML4&lt;/a&gt;, specifically &lt;a href="http://www.w3.org/TR/html5-diff/#changed-elements" title="HTML 5 differences from HTML 4"&gt;3.3-3.5&lt;/a&gt;).&lt;/ins&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;It’s possible to just change the &lt;code&gt;doctype&lt;/code&gt; and get some benefits from having converted to HTML5 (when you use a validator :). However, the more time you put into HTML5 the greater the reward. You’ll get the most benefit from rethinking your site’s semantics from an HTML5 perspective, although for the present I’d recommend &lt;a href="#ie-no-go"&gt;adding these extra semantics via the HTML-5-elements-as-class-names approach&lt;/a&gt;&lt;ins datetime="2009-09-16T18:21:52+09:00"&gt; for commercial projects&lt;/ins&gt;.&lt;/p&gt;

&lt;p&gt;Questions? Feedback? Mistakes? &lt;a href="http://twitter.com/home?status=%40boblet%20re%3A%20http%3A%2F%2Fbit.ly%2FTE2TL%20" title="via the Twitter homepage"&gt;Let me know via Twitter&lt;/a&gt; (&lt;a href="http://twitter.com/boblet"&gt;@boblet)&lt;/a&gt;…&lt;/p&gt;

&lt;div id="changes" class="section"&gt;
&lt;h3&gt;Changes:&lt;mark&gt;&lt;a href="http://boblet.tumblr.com/post/141239118/html5-structure4#changes"&gt;#&lt;/a&gt;&lt;/mark&gt;
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;ins datetime="2009-07-16T13:30:00+09:00"&gt;&lt;em&gt;2009-07-16&lt;/em&gt; Added &lt;a href="#ins-1"&gt;notes about &lt;code&gt;doctype&lt;/code&gt;, XHTML5 and XHTML-style coding in HTML5&lt;/a&gt;, thanks to feedback from &lt;a href="http://twitter.com/robertdot" title="@robertdot on Twitter"&gt;@robertdot&lt;/a&gt;. Also changed &lt;code&gt;doctype&lt;/code&gt; to lower case in HTML5 code examples for consistency (HTML5 is case-insensitive so either is fine).&lt;/ins&gt;&lt;/li&gt;
&lt;li&gt;&lt;ins datetime="2009-07-19T11:00:00+09:00"&gt;&lt;em&gt;2009-07-19&lt;/em&gt; Added headings for the &lt;a href="#ins-2"&gt;&lt;code&gt;doctype&lt;/code&gt;, &lt;code&gt;charset&lt;/code&gt; &amp; XHTML-style markup&lt;/a&gt; and &lt;a href="#html5-xhtml5"&gt;HTML5 or XHTML5? &lt;em&gt;Choose HTML5&lt;/em&gt;&lt;/a&gt; sections I added last time, for better scanability. Added &lt;a href="#browser-support"&gt;more info on the HTML5 shiv plus a copy-paste-able &lt;code&gt;head&lt;/code&gt; code block for adding JS and CSS&lt;/a&gt; (&lt;a href="http://html5doctor.com/html-5-boilerplates/" title="HTML5 Boilerplates | HTML5 Doctor"&gt;thanks to HTML5 Doctor for the prompt&lt;/a&gt;). Also I added a few more links, a couple more points to “Why bother with HTML5?” (‘&lt;a href="#ins-4"&gt;sliding scale&lt;/a&gt;’ and ‘&lt;a href="#ins-5"&gt;no disadvantages&lt;/a&gt;’), &lt;a href="#why-html5"&gt;rewrote the conclusion&lt;/a&gt;, and added what could be my &lt;a href="#ie-no-go" title="“…but IE requiring JS means we’re screwed, right?”"&gt;favourite header ever&lt;/a&gt;.&lt;/ins&gt;&lt;/li&gt;
&lt;li&gt;&lt;ins datetime="2009-07-22T11:45:00+09:00"&gt;&lt;em&gt;2009-07-22&lt;/em&gt; Added or rewrote these subtitles; &lt;a href="#article-page"&gt;Converting a simple page to HTML5&lt;/a&gt; and &lt;a href="#using-html5-today"&gt;Adding HTML5’s semantics via &lt;code&gt;&lt;div class=""&gt;&lt;/code&gt;&lt;/a&gt;. Changed “HTML5” to “HTML 5” etc.&lt;/ins&gt;&lt;/li&gt;
&lt;li&gt;&lt;ins datetime="2009-07-22T18:15:00+09:00"&gt;&lt;em&gt;2009-07-22&lt;/em&gt; &lt;em&gt;Reverted&lt;/em&gt; doctype to &lt;a href="http://wiki.whatwg.org/wiki/FAQ#What_will_the_DOCTYPE_be.3F" title="FAQ - WHATWG Wiki"&gt;WhatWG-recommended XHTML-compatible style&lt;/a&gt; (although a lower-case doctype is fine in HTML 5!).&lt;/ins&gt;&lt;/li&gt;
&lt;li&gt;&lt;ins datetime="2009-09-16T18:22:32+09:00"&gt;&lt;em&gt;2009-09-16&lt;/em&gt; Changed almost everything :)&lt;/ins&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;

&lt;script type="text/javascript" src="http://oli-studio.com/html5/js/html-switcher.js"&gt;&lt;/script&gt;</description><link>http://boblet.tumblr.com/post/141239118</link><guid>http://boblet.tumblr.com/post/141239118</guid><pubDate>Tue, 14 Jul 2009 13:53:00 +0900</pubDate><category>Structure</category><category>convert</category><category>html4</category><category>html5</category><category>xhtml1</category><category>xhtml5</category></item><item><title>Living with First-Person Shooter Disease

Meet Gene Simpkins,...</title><description>&lt;object width="400" height="336"&gt;&lt;param name="movie" value="http://www.youtube.com/v/-jBKKV2V8eU&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/-jBKKV2V8eU&amp;rel=0&amp;egm=0&amp;showinfo=0&amp;fs=1" type="application/x-shockwave-flash" width="400" height="336" allowFullScreen="true" wmode="transparent"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;h2&gt;Living with First-Person Shooter Disease&lt;/h2&gt;

&lt;p&gt;Meet Gene Simpkins, sufferer of moto-neural demyelination, or to the layman, Duke Nukem’s Disease…&lt;/p&gt;</description><link>http://boblet.tumblr.com/post/138732042</link><guid>http://boblet.tumblr.com/post/138732042</guid><pubDate>Fri, 10 Jul 2009 10:33:30 +0900</pubDate><category>video</category><category>humor</category><category>fps</category><category>gaming</category></item><item><title>matthewb:


Red Rabbit was written, directed, modeled and almost...</title><description>&lt;object type="application/x-shockwave-flash" width="400" height="224" data="http://vimeo.com/moogaloop.swf?clip_id=4949853&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF"&gt;&lt;param name="quality" value="best" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="scale" value="showAll" /&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4949853&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF" /&gt;&lt;embed src="http://www.vimeo.com/moogaloop.swf?clip_id=4949853&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="224"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;&lt;a href="http://matthewbuchanan.name/post/135803592/red-rabbit"&gt;matthewb&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;a href="http://vimeo.com/4949853"&gt;&lt;em&gt;Red Rabbit&lt;/em&gt;&lt;/a&gt; was written, directed, modeled and almost entirely animated by Egmont Mayer, using Softimage XSI. Fabulous.&lt;/blockquote&gt;</description><link>http://boblet.tumblr.com/post/136753040</link><guid>http://boblet.tumblr.com/post/136753040</guid><pubDate>Tue, 07 Jul 2009 10:18:00 +0900</pubDate><category>movie</category></item></channel></rss>
