KDLA
06-10-2008, 10:52 AM
Do you place the company name/banner in a <h1> tag, and then place the page titles in an <h2> tag, or do you simply put the company name/banner in a div and then place the page titles in an <h1> tag?
KDLA
KDLA
|
Click to See Complete Forum and Search --> : question about semantics KDLA 06-10-2008, 10:52 AM Do you place the company name/banner in a <h1> tag, and then place the page titles in an <h2> tag, or do you simply put the company name/banner in a div and then place the page titles in an <h1> tag? KDLA Declan1991 06-10-2008, 11:38 AM Personally I think the first. If you were to create a list of the headers then, it would look like: Company -Introduction -foo -bar which makes sense. It doesn't make sense if you don't have the company title in a header at all, because there is no clear over-arching reason to the page, and if you disable CSS, how would it look? Pathetic, because there is no overall header. KDLA 06-10-2008, 11:43 AM That's my preference, too. I just wondered how it affected SEO in that you'd have multiple documents with the same <h1>. Declan1991 06-10-2008, 01:31 PM I thought you were talking about the index page. It depends, though if it were a product information page, the product really should be the h1 don't you think? KDLA 06-10-2008, 01:38 PM Oh, sorry, I meant sitewide. Normally, I put the banner as the <h1> but I wasn't sure how you'd tag/reference the company name, which appears on each subpage. To have it repeated in the text of every subpage <h1> might be annoying to the visitor. :confused: I'm surprised someone hasn't come out with a semantic guide yet -- sort of the APA-style for web coding. I think if there were some sort of guide, more people would understand how and why it's done. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |