March 7th, 2010 by Rob Larsen
Five posts in and finally we get to the heart of the matter- getting your content onto the page for your users to enjoy. This will be done in two parts. This, the first part, will deal with how to structure your HTML so it makes sense from and organizational standpoint and so that you can easily style it with CSS. Let's look at a stripped down example of what I'm talking about.
Read the rest of this entry »
February 16th, 2010 by Rob Larsen
You've all seen this, but now here it is from the official channel.
Speaking of WordPress and HTML5, I'm knee deep in the process of getting DrunkenFist.com relaunched and I've been doing the WordPress component for the past few days. It's super complicated. Which means, of course, I'm having a blast with it
February 10th, 2010 by Rob Larsen
Last time out we looked at the Anatomy of a Web Page. Using that, let's move on and look at the first of the two major sections, the head.
For the sake of this blog post, the head includes two pieces of code that are actually before the head. Sue me
Using the head from my (recently updated) starter assets project as an example, let's look at the code in detail. First, what it looks like in total:
Read the rest of this entry »
January 28th, 2010 by Rob Larsen
And here it is:
Slides.
Just in time for me to do it all over again tonight at the Boston JavaScript Meetup. Well, not completely all over again as it's a new presentation tonight, but it'll still be two times at NERD this week.
January 23rd, 2010 by Rob Larsen

Owing to the contrast on the A/V system, my last slide was illegible, so here are all the links that folks couldn't see.
The presentation itself:
HTML5 + WordPress
And the resource links:
The working group
http://www.whatwg.org/
Mark Pilgrim's HTML5 book
Dive into HTML5
The Modernizr library
Modernizr
The outliner
http://gsnedders.html5.org/outliner/
The post talking about Kubrick
I’m Messing Around With an HTML5 Version of the Default WordPress Theme
My other sites:
DrunkenFist.com (art portfolio)
@robreact
I'll have video of the presentation up shortly (I hope!)
January 17th, 2010 by Rob Larsen
WordCamp Boston is less than a week away, and as part of my presentation I wanted to show the new elements in an environment that basically everyone that works on WordPress sites will recognize- the default theme. To that end, I mocked up a functioning HTML5ized version of the home page to use as an example. That was both easy and fun.
Read the rest of this entry »
January 5th, 2010 by Rob Larsen
Mark Pilgrim published his chapter on the new HTML5 form input types:
A Form of Madness
Everybody knows about web forms, right? Make a <form>, a few <input type="text"> elements, maybe an <input type="password">, finish it off with an <input type="submit"> button, and you’re done.
You don’t know the half of it. HTML5 defines over a dozen new input types that you can use in your forms. And when I say “use,” I mean you can use them right now — without any shims, hacks, or workarounds. Now don’t get too excited; I don’t mean to say that all of these exciting new features are actually supported in every browser. Oh goodness no, I don’t mean that at all. In modern browsers, yes, your forms will kick all kinds of ass. But in legacy browsers, your forms will still work, albeit with less ass kicking. Which is to say, all of these features degrade gracefully in every browser. Even IE 6.
We used the basic ones on the AWiderNet redesign. Quick review: I like them (by basic I mean email, url, etc) as they parallel the things I've been doing all along. Beyond the possible user agent enhancements, I'm happy to be able to target CSS using attribute selectors instead of meaningless* classes.
I'm really excited for support for the "fancier" new types. There's a lot of code overhead out there in the wild for things like sliders and date pickers. Having native controls for very common elements is a big deal.
*Meaningless in that User Agents can't infer anything from class="email". Clearly humans editing the code can guess what class="email" is all about…
December 23rd, 2009 by Rob Larsen

We relaunched the Cramer blog today. It's a soft launch. We're hoping to shake out any kinks over the quiet time around the holiday. I did the initial HTML5/CSS3 templates and then shepherded the project for a couple of weeks* until I was freed up enough this past week to get the thing out the door.
Read the rest of this entry »
December 16th, 2009 by Rob Larsen
I'm excited to announce that I'm going to be speaking at the 1st WordCamp Boston. I'll be talking about the marriage of two of my favorite technologies: WordPress and HTML5.
The Future is Now: WP Themes With HTML 5
Excited about HTML5? Wish you could start using the new semantic elements right now? You can. In this presentation Rob Larsen will show you how to create cross-browser, HTML5 enhanced WordPress themes using nothing more than a little extra JavaScript, basic WordPress knowledge and some knowledge of the new elements.
Check out the rest of the program.
It takes place January 23, 2010 and is being held at:
Microsoft New England Research and Development Center
1 Memorial Drive
Cambridge, MA 02142
Thanks once again to Microsoft for hosting pretty much every technology group in the area
October 30th, 2009 by Rob Larsen
It does.
Why?
Well, I've been doing this job, at a very high level, for a long time and I couldn't code this by hand if you paid me $50,000:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
I understand it, and I can't remember it. That's basically gibberish to most people. There's no way anyone is going to remember that string.
This? This I can code by hand and pretty much anyone can "get" what it's doing:
I do wonder if there's been any backlash against that? I've seen a lot of backlash against HTML5 over the past year, but I can't really remember anyone complaining about the doctype declaration.
I bet someone hates it.
Not me