1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

h1 vs. h2 & h3 in SEO?

Discussion in 'HTML & Website Design' started by Pixelrage, Feb 22, 2007.

  1. #1
    This is something I can't seem to find an answer on...I know that header tags are an important puzzle piece in SEO - but do you really have to H1 all of your article headlines? H1 is WAY too big and it looks atrocious if you have a long title. Can't you achieve the same benefits in SEO by using H2 or H3?
     
    Pixelrage, Feb 22, 2007 IP
  2. disgust

    disgust Guest

    Messages:
    2,417
    Likes Received:
    133
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you can style h1 with CCS, you know :)
     
    disgust, Feb 22, 2007 IP
  3. Pixelrage

    Pixelrage Peon

    Messages:
    5,083
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Good point :D the way my site skin is set up - H1 was reserved to display a section within a box that has an image background and a border. It's going to be really interesting to figure out how to edit all instances where H1 is already called :(
     
    Pixelrage, Feb 22, 2007 IP
  4. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #4
    I would not use H1 both for the section name (if present on the page) and article headlines at the same time.
    You need to keep in mind that h1 h2 h3.. must build a link a structural hierarchy of your content.
    I would use h2 for the article headlines if I were to design your website :)
     
    Clive, Feb 22, 2007 IP
  5. Pixelrage

    Pixelrage Peon

    Messages:
    5,083
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks!! that means I don't have to do anything, which is even better news :)
     
    Pixelrage, Feb 22, 2007 IP
  6. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #6
    Except that it would not hurt if you formatted your h2 tags. Otherwise you may be surprised to see that Firefox and IE will pick up different font size / margin / padding values for it. Other than that, you should be fine using h2 for your titles.
     
    Clive, Feb 22, 2007 IP
  7. Pixelrage

    Pixelrage Peon

    Messages:
    5,083
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Clive, I did notice that - it seems as though there's a line break before and after the tag. I'll look into that.
     
    Pixelrage, Feb 22, 2007 IP
  8. Clive

    Clive Web Developer

    Messages:
    4,507
    Likes Received:
    297
    Best Answers:
    0
    Trophy Points:
    250
    #8
    That's right. To remove the linebreaks (I don't see why you would need to do that) Add
    h2 {
     display: inline;
    }
    Code (markup):
     
    Clive, Feb 22, 2007 IP
  9. Ar3d

    Ar3d Banned

    Messages:
    132
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    yup, if you having problem in the size of heading just use the CSS rules. me i would recommend the externall CSS which use style heading..
     
    Ar3d, Feb 23, 2007 IP
  10. Pixelrage

    Pixelrage Peon

    Messages:
    5,083
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    0
    #10
    awesome, thanks for the help. I'm a complete newbie with CSS, but I love it so far.
     
    Pixelrage, Feb 23, 2007 IP