hi html tag

Discussion in 'Search Engine Optimization' started by thosecars82, Oct 12, 2008.

  1. #1
    Hello
    I wanted to ask you if h1, h2, ... html tags can be used in terms of SEO like this:

    <h3>
    <div class="classForH3HeadersInPageY">
    example text
    </div>
    </h3>

    My question is: I have always seen h1, h2,... tags used with text right inside of those tags. However, I do not know if placing the text inside of internal divs like the example above instead of directly inside of the h3 tag is good for SEO.
    Any suggestion? I just thought that this approach I mentioned above might be no so good as placing the example text like this:
    <h3>
    example text
    </h3>
    However, sometimes if you have several pages on a site, you need to change the format of your h3 headers depending on the page and to do so I just came with the idea that placing div tags from different classes inside of the h3 would let me achieve what I said. Therefore, the class used for each div would depend on the page in which this header h3 is being used. But I wonder, does this solution has any inconvenient in terms of SEO?
    Thanks
     
    thosecars82, Oct 12, 2008 IP
  2. seopositions

    seopositions Guest

    Messages:
    195
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    There is no difference between the two tags at an seo standpoint. In fact I have been involved in search engine optimization for over 4yr now and have tested this many times to conclude that it doesn't matter as long as you have h1 h2 & h3 tags on your page you should be fine!
     
    seopositions, Oct 12, 2008 IP
  3. PoemofQuotes

    PoemofQuotes Peon

    Messages:
    637
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I would have to argue that there is a difference from an SEO standpoint, although, it is quite minimal (you wouldn't see a difference except in very limited circumstances). Google searches through code and places percents on whatever possible to determine a sites ranking.

    I would also have to ask, why would you be doing this in the first place? There is no point for a div there. If you want to set a class to words inside of an h3 do this:

    <h3 class="classForH3HeadersInPageY">example text</h3>
     
    PoemofQuotes, Oct 12, 2008 IP
    jitendraag likes this.
  4. Jamsi

    Jamsi Peon

    Messages:
    89
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Why not just stick to industry standard?

    Example

    HTML
    <div class="container">
    <h3>Title</h3>
    </div>

    CSS File
    .container
    {
    border: solid 1px #00000;
    }
    .container h3
    {
    font-size: 16px;
    }
     
    Jamsi, Oct 12, 2008 IP
  5. thosecars82

    thosecars82 Member

    Messages:
    81
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #5
    Thanks for all your suggestions because they are really useful indeed and I had not thought about those options that you suggest until you mentioned them.
     
    thosecars82, Oct 13, 2008 IP
  6. thosecars82

    thosecars82 Member

    Messages:
    81
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #6
    Question: Does what poemofquote suggested stick to industry standard strictly?
    Thanks
     
    thosecars82, Oct 13, 2008 IP
  7. wsitehelp

    wsitehelp Guest

    Messages:
    288
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    i see this working.
     
    wsitehelp, Oct 13, 2008 IP