homepage Welcome to WebmasterWorld Guest from 54.211.80.155
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Headers, H1, H2, etc
djmokoia




msg:3624588
 2:51 pm on Apr 11, 2008 (gmt 0)

I'm wondering if I have misunderstood the correct use of header tags?

I have built a site that I mainly use to mess around with various design techniques, etc. It is mostly text based, using html 4.01 strict in most instances.

I don't have any h1 tags on the pages, using h2 tags instead. When I use the site:www. etc search in google, it lists the pages, with their <title> tags as the link title, then the contents of the h2 tag, then some of the page contents. I don't really have any complaints about that.

On two other sites, that I have built for more commercial purposes (albeit my own) I have followed a similar layout but used h1, then h2 tags (some pages don't have h2) and when I do a site:www. search for them in google I get the page title followed by the navigational links from the top of the page... not really what I expect.

I can post some code snippets if these will help, I just wanted to make sure I'm not breaking forum rules
Thanks
Tim

 

surrealillusions




msg:3624652
 3:52 pm on Apr 11, 2008 (gmt 0)

If your seeing content beneath the title tag in google searches, then you probably haven't got a meta description tag in the head section of your pages.

Do you have meta tags?

djmokoia




msg:3624684
 4:12 pm on Apr 11, 2008 (gmt 0)

I did have meta descriptions but removed them because I was concerned that SEs wouldn't index the content of the page but only look at the contents of the meta tags. I presume you are referring to the
<meta name="description" content=" etc"> tag?

I always used to use these but stopped building sites for a few years and now I'm on a crash course (self taught!) trying to get back up to speed with current conventions and not quite getting it right half the time!

rocknbil




msg:3624691
 4:20 pm on Apr 11, 2008 (gmt 0)

Meta description is still used in SERPS as the description for the page, if it's present. Otherwise it will, as you've seen, use the first content it encounters as the description "snippet."

Meta keywords are largely ignored, although it's a good idea to include them anyway. In any case, all three (including title tag) should be unique and relevant to the page.

djmokoia




msg:3624703
 4:36 pm on Apr 11, 2008 (gmt 0)

ok, off I go to rewrite my meta descriptions... just out of curiosity the pages on my experimenting site don't have meta descriptions but aren't displaying the first content encountered.
This is what I can't really understand, the discrepancy between the way the different sites have been indexed...
Anyway, thanks for the info so far, I presume I am making correct use of H1, H2 in that case?

penders




msg:3624708
 4:44 pm on Apr 11, 2008 (gmt 0)

I did have meta descriptions but removed them because I was concerned that SEs wouldn't index the content of the page but only look at the contents of the meta tags.

SE's will look at the content of the page, regardless of whether you have a meta description or not. In fact they are far more likely to place most weight on the page content rather than the meta tags, in terms of actually indexing the page, as meta tags have been so heavily abused in the past.

rocknbil




msg:3625369
 4:03 pm on Apr 12, 2008 (gmt 0)

the pages on my experimenting site don't have meta descriptions but aren't displaying the first content encountered.

Are you sure? From O.P.,

when I do a site:www. search for them in google I get the page title followed by the navigational links from the top of the page... not really what I expect.

If it's text, it's content. :-)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved