Earlier today I started typing up a thread on how I was considering divorcing my old HTML4 ways, and starting to use approaches in HTML5 like having multiple <h1> elements in a web page.
What I can say is this… After reading lots of things on SitePoint and online, I am still of the mindset that your Company Name/Brand is the most important thing on any web page, and thus a great candidate for <h1>.
My understanding of this philosophy is that your company name/brand is like a book title (e.g. War and Peace) and that all of the sections (e.g. chapters) and content need to tie back to the book itself.
That works for me.
I was willing to accept HTML5’s approach of “sectioning” and <h1>'s in each section, however the more I read the more it seems like the “document outline” model is not supported by any browsers, and there is a lot of uncertainty if having multiple <h1>'s will stand the test of time.
I want to move forward with technology, and it seems like a good idea to use these new elements: <section>, <aside>````, ```, and so on.
However, I do not want to change to an approach that is not ratified yet and that is not supported!!
But I am deciding on the foundation of a new website! (I would hate to code everything one way only to find out it is crappy HTML and has to be done over…)
But a wrong move could really hurt SEO…
And how should the Company Name/Logo/Brand be marked up?
Also, for pages that have multiple sections - and thus H1’s by your approach - how would you tell search engines what the page is about?
But we’re talking semantics here. Who really cares if you have two h1 tags apposed to 1? Seriously? It’s YOUR code. Noone else is going to bother looking. Clients won’t know/care.
Because like most people who create websites, I am doing it for the purpose of coming up as the 1st choice when people search for my specialties, and that will hopefully help me to make $$$.
If having 6 <h1>'s on a web page confuses Google, and I get docked, then that impacts my bottom-line!
(This seems to be one topic that is very murky with no clear answers…)
So what you’re saying is, there have been no measurable benefits or issues with either way. Otherwise, you’d definitely find information and/or articles condemning one way or another. Actual benefits or issues would be easily found/documented.
I’m repeating what I just said in my other thread… Googling for answers online is often an enormous waste of time, because any jackass can post things online.
I can’t find a clear answer on this one. Based on all of the gurus at SitePoint, I am hoping a few people here can help me find the best answer. (I’m unimpressed with what Google has turned up on this topic.)
I like some of the additions that HTML5 provides, but I want to be sure that it does what I want it to.
As mentioned before, I think your company name/brand should be the top dog on every page. Then immediately below that there should be an <h2> that is what the page is usually about (e.g. article title). And from there you have lower headings as needed.
If I had to take a stab at changing conventions, I would do this…
That’s the reason not to use it IMHO. Traditional heading structures have stood the test of time, and the HTML5 creators made a mistake trying to blow it apart. Hopefully it’s doomed to fail. But it’s also perfectly valid to use the traditional heading structure in HTML5 anyway, so just stick with that.
That argument doesn’t hold up for me.
What is each page about? Your company? No, it’s about the main content on that page. Using your company name as the H1 is like the cover of your novel being titled Penguin Books. No, that’s not what the book is about; it’s about War and Peace … so that’s what the title should be. So don’t title your document after the company: the title should focus on the content.
Right. I did read your OP, but it’s been a long day and I totally misread the two links you provided.
I really think what @ralphm says makes a lot of sense. I still tend to use h1 for the main title of each page (as well as the site name in the main header), and h2’s for main section headings. But that’s just because that’s what seems logical to me.
Seems to me that at least one person was arguing for the company name being <h1>
What was that person’s logic?
(Based on my research today, a lot of people seem to like that approach, although I haven’t really seen anyone articulate why that approach is better than what you are recommending…)