...

View Full Version : <h1> - <h6> tags for seo



ketanco
08-23-2009, 09:36 PM
I saw from many places that using h1 through h6 tags are good for seo. Can someone explain how does that work exactly?

For example, right now on my site, if I have phrases that I want to appear as titles, I make their font bigger and bold etc.. I understand that I need to make these header tags instead. This includes titles of many articles displayed dynamically by php from mysql database. so would this help?

I just want to know how this works so I can do the necessary corrections.

Also can I use header tag together with formatting and it doesn't deteoriate or decrease its seo effect? such as <h1 style="font-color:green;"> etc.....

_Aerospace_Eng_
08-23-2009, 09:56 PM
Yes you can style header tags anyway you like. Its best to go in order from top to bottom. Usually your site title will be an h1. Page titles could be h2. Article titles to could be h3, and so forth. You don't have to use all of them. The headers are numbered for a reason, they specify their importance. Search engines don't care if they are styled or not. They just look at the tag itself.

Pennimus
08-23-2009, 11:32 PM
I saw from many places that using h1 through h6 tags are good for seo. Can someone explain how does that work exactly?

It doesn't, at least with regards to Google. Heading tags, in particular the H1 tag, are HTML elements that are traditionally thought to have more weight in search engine algorithms. This however is not true (I say that based on experiments designed explicitly to test the value of using v.s. not using them).

You may wish to use them anyway, as they make for easier reading of code, are semantically correct tags for marking up headings, and other search engines may give them more weight.

ketanco
08-23-2009, 11:58 PM
so for search engines other than google, do they also look at the weight of h1 vs h6 for instance? in tht case someone might use h1 for eveything and then give it a small font :P

Pennimus
08-24-2009, 01:33 PM
I don't know, I haven't experimented on those engines. Your suggestion though is exactly the reason why search engines would be likely not to assign extra weight to content marked up with H1 tags.

oracleguy
08-24-2009, 03:18 PM
so for search engines other than google, do they also look at the weight of h1 vs h6 for instance? in tht case someone might use h1 for eveything and then give it a small font :P

Using header tags correctly is part of writing semantic code, which is ultimately more important for a good signal to noise ratio in your code. Which in turn can lead to more favorable placement by the search engine.

tailender1
08-25-2009, 07:13 PM
in my opinion you should not abuse those tags..
h1 -- website name
h2 - page title
h2 - article heading & sub sections
<strong> tags to highlight key words or phrases of importance..

sm911
08-28-2009, 05:15 PM
in my opinion you should not abuse those tags..
h1 -- website name
h2 - page title
h2 - article heading & sub sections
<strong> tags to highlight key words or phrases of importance..

I think the right h tags for a better SEO is:

h1 - page/paragraph Title and also website name
h2 - page/paragraph Sub-Title

Use "paragraph" format for your content. No h-tags...

shakir
08-30-2009, 09:20 AM
I saw from many places that using h1 through h6 tags are good for seo. Can someone explain how does that work exactly?

For example, right now on my site, if I have phrases that I want to appear as titles, I make their font bigger and bold etc.. I understand that I need to make these header tags instead. This includes titles of many articles displayed dynamically by php from mysql database. so would this help?

I just want to know how this works so I can do the necessary corrections.

Also can I use header tag together with formatting and it doesn't deteoriate or decrease its seo effect? such as <h1 style="font-color:green;"> etc.....
H tags are the main factor in on page optimization.. Do not know how much weighed in SEO... using style with header tag is not problem I thing.. better try to use style sheet instead of applying direct to it

Scriptet
08-30-2009, 09:34 PM
Also note the H1 heading should only be used once per page, some people use this for site titles, some for the page title, imo I think it should be used for the page title.

The H2 tag can indeed be used multiple times per page and should be used to identify sub titles within the page topic. So the more subsections the further down the headings you'd go.

So really you shouldn't have a H3 tag without a H2 tag and so on.

It helps computers to understand what your page is about, including search engines although they place little ranking importance on them cause of the abuse factor.

You can style these headings however you want, and it has no effect at all because afaik search engines do not look inside the CSS of your page, only the HTML markup.
As suggested above it's best to use an external stylesheet and avoid inline styles if you can. You can refer to headings in your external stylesheet like so:



h1{
font-size:30px;
//other styles for h1 go here
}
h2{
//h2 styles go here
}
etc...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum