Should There Be Two H1’s on a Page?
Occasionally I see someone make perfectly valid pages which have failed to correctly use the heading element to create semantic meaning of the document. After all these are web pages and not web sites when we think of them technically - the protocols running are only concerned with the page requested and has no knowledge about the last page seen. That’s why we use cookies and other methods to remember.
H1 - H6 is not about the heading display size either. The look of the heading is nothing to do with which one you should use in your document. It is entirely about creating some semantic meaning within the information - check out the Semantic Extractor for an idea of your own document structure. Therefore the h1 itself should be about the meaning of the document itself - think of a tree heirarchy and you logically accept there can only be one title for the page (which makes sense). The discussion about whether that h1 is the site title, the page title or something else is beyond the scope of this article.
The reason I am writing this article is because in this grey area of common sense there will always be someone who has a divergent view of the semantics of something or who will pull out a bunch of gibberish and tell you (in a way you can’t argue back) that what they’re telling you is semantically correct. In truth I don’t think there is a document out there which defines the true semantic truth according to Moses. I’ve heard the arguments for two h1 elements on a page but to me it can never make sense. In fact to argue there can be - and I don’t care if its valid markup or not - makes me wonder if someone hasn’t just disappeared up the ring of their own rhetoric.
In fact I rather hate the word semantic as it has to be one of the most maligned and misguided terms used in our industry. Somewhat like the song Isn’t it Ironic not being about irony at all. Its just a word grown to be commonly used for a whole bunch of stuff not ironic at all - for example bad luck.
If by chance you look at your page and there is actually a good argument for two h1 elements you can logically conclude you should really be considering two separate pages for the information. If you have a logo and a h1 you decide should both be a h1 this usually means (to me at least) you are just trying to stuff your company name or site name before the other h1 as the first part of the real h1 and may even have more to do with you wanting your company or site name to be noted as more important by Google. If so then that’s another reason you shouldn’t be thinking of doing it - it should be about the meaning of the information not about grabbing the attention of bots to keywords. Either way I’m not entirely sold on the idea.
I accept my opinion on this might be different from some high profile standardistas (who I am notably not linking to for a hand to hand verbal stouche) and that is acceptable. We’ll just have to beg to differ. In the meantime just ask yourself if, regardless of anything else you hear, doing something really makes logical sense to the document itself.



August 3rd, 2007 at 10:39 pm
‘There can be only one’……(wait, I’m not really quoting Highlander!)
Having more than one H1 is like having two goalies in net…sure, it might seem like a good idea at the time - but it’s just not right!
August 4th, 2007 at 4:13 am
Yeh I’ve never got it either Matt… even with a bunch of semantic hoo ha that makes is somehow sound plausible I keep going back to a chapter with 2 titles or a movie with two titles… and usually its trying to get SEO on the company name in the logo for example. Usually not a semantic reason but a business reason.
If I recall Veerle for example had a big rave a while back on two h1s being fine and lots of people in the comments agreed it was fine… and other places I’ve seen high profile statements in favour of it. But its just not what I’d call common sense regardless of the splitting of hairs in specification X…
I see it as the root of the information heirarchy on the page… so its good to hear you agree with me on that one
By the way what have you been up to? You’ve been quiet on your blog for a few weeks.
August 4th, 2007 at 6:06 am
>>”By the way what have you been up to?”
Oooh, work - busy! I’ll e-mail with more. Cheers.