h1 tags

Discussion in 'HTML & Website Design' started by exinrex, Nov 13, 2007.

  1. #1
    Hello Guys,

    I just want to ask how many h1 do you put to your pages of your website?



    Thank's
     
    exinrex, Nov 13, 2007 IP
  2. libertygone

    libertygone Active Member

    Messages:
    2,625
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    90
    #2
    It all just depends.. But i focus on matching the <title> tags, <meta> tags, and <h1> tags as well as the filenames for best SEO
     
    libertygone, Nov 13, 2007 IP
  3. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #3
    IMO, there should only be ONE.
     
    soulscratch, Nov 13, 2007 IP
  4. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #4
    Use only one.

    There should be only one (I sound like i'm from highlander...).
     
    twistedspikes, Nov 13, 2007 IP
  5. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #5
    I miss the 90s... that was a good show with a cool intro.
     
    soulscratch, Nov 13, 2007 IP
  6. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #6
    I've got the films on dvd, they are awesome :p
     
    twistedspikes, Nov 13, 2007 IP
  7. exinrex

    exinrex Active Member

    Messages:
    413
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    81
    #7
    Thank's to all your response guys. What I did is I added 3 h1 tags. I think i need to change it. Maybe it's h1,h2,h3.
     
    exinrex, Nov 13, 2007 IP
  8. veckd

    veckd Peon

    Messages:
    1,065
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #8
    well just do them in order of importance. If each one is just as important/relevant as the other then maybe make them all h1. It depends on importance.
     
    veckd, Nov 13, 2007 IP
  9. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #9
    One, and only one. It's used as the page title (though the title element does play an important role as well, I'm just referring to the page copy, not the page metadata). Pages shouldn't have more than one title, so it stands to reason that the H1 heading shouldn't be used more than once per page either. Though it is possible to use more than one H1 element per page, it just wouldn't be semantically correct. It would be like someone saying "The man is pregnant." While the previous sentence is grammatically correct, the semantics got the royal treatment by Gallagher. (Look him up on Wikipedia if you've never heard of him.)

    No, it doesn't depend. See above for why. Furthermore you shouldn't be "matching" the title, meta data and your headings anyway. Vary them, but have them "mean" the same thing.

    It's not an opinion, it's a fact.

    Look at a newspaper article. How many of the headings used in that article are larger than the others? The answer should be only one (note that the newspaper's logo is global, in Web design an IMG element would be the appropriate element to use). If there are other headings below that, you'll see that they are not only nested sequentially, but they're always used in at least pairs (that is if the newspaper in question has any standards that is). Your Web pages should strive to follow the same model.

    Sorry, but that's not going to work. The example I gave above is not only better, but it's also far more relevant. Now, if you had said each subheading should be an H2 (or H3 depending on the nesting level) then I'd agree with you completely.
     
    Dan Schulz, Nov 13, 2007 IP
  10. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #10
    Headers should be thought of like a tree - if you go down in importance it should be a sub-category of the next level header before it. That means a single H1 (the trunk), multiple H2's (main branches), H3's under the H2's (sub branches) - the content following your headers can be thought of as the leaves.
     
    deathshadow, Nov 13, 2007 IP
  11. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #11
    For the first time I have to say that I dont necessarily agree with you.

    Is a fact that there should only be one where is this written as I havent heard of it nor can find any reference to the fact? A link to the W3C "rule" would be interesting to see

    I agree in the vast majority of times that a single page will have a single H1 as a global header however there are occasions where a single page covers more than a single item where there is no appropriate global header for both/ all topics covered
     
    AstarothSolutions, Nov 14, 2007 IP
  12. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Right here:

    http://www.w3.org/MarkUp/html3/headings.html

    Bear in mind this was a quick search (I'm heading off to bed).
     
    Dan Schulz, Nov 14, 2007 IP
  13. xsabrina.chic

    xsabrina.chic Peon

    Messages:
    131
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #13
    i used to have multiple h1 tags on my site.. it's really up to the user..
    make it sure that each <h1> tag has </h1> for error will avoid :)
     
    xsabrina.chic, Nov 14, 2007 IP