Tag: html5

html5 and nostuff

It’s hard not to think of nostuff.org and not think of blazing web standards.

So I had a go at updating the template for this here blog to make it all html5. Turns out this is quite simple.

It seems you can probably just replace your doctype with

<!DOCTYPE html>

and you’ve got yourself a html5 webpage.

The W3C validator proves it so. From there I added some of the new section elements such as header, footer, nav, aside and article. It seems that these can apply to the page (i.e. the page’s footer) or a section (the footer of a blog post, where it shows tags and date published ¬†etc). I used various sources on the web, via Google, including a few articles, and sample sites.

So nostuff mostly validates as html5 and makes use of some of the elements above, though this doesn’t affect anything visually at the moment (I think, I really don’t have much of a clue as to what I’m doing).

I’ve created a gzip file of the theme here. You’re welcome to download and use it, though it’s not really designed to be shared (includes my analytics/adsense codes etc).