help with head - H1 - H2

Discussion in 'HTML & Website Design' started by kirdes, Mar 13, 2008.

  1. #1
    Hi....I am redesigning my website & I am wanting to utilize the <head> <h1> <h2> methodology - can anyone point me in the right direction so I can utilize these in the best way?? I am not sure how to use them and what is the best way to use them.

    Thanks,
    -kd
     
    kirdes, Mar 13, 2008 IP
  2. nihangshah

    nihangshah Prominent Member

    Messages:
    5,536
    Likes Received:
    271
    Best Answers:
    3
    Trophy Points:
    395
    #2
    <head> is inside the <html> tag. This tag contains the <title> of the webpage.
    and <h1>, <h2>, <h3> are all 'headings' inside your webpage. The size of <h1> is highest, while that of <h6> is the lowest.

    For example,
    
    <html>
    <head>
    <title>Title of webpage</title>
    </head>
    <body>
    <h1>Heading 1 (Large font)</h1>
    <h2>Heading 2 (Medium font)</h2>
    <h3>Heading 3 (Small font)</h3>
    <h4>Heading 4</h4>
    <h5>Heading 5</h5>
    <h6>Heading 6 (Smallest font)</h6>
    </body>
    </html>
    Code (markup):
    Try this code, to help you better understand HTML.
     
    nihangshah, Mar 13, 2008 IP
  3. kirdes

    kirdes Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ok...cool........so what determines what is a h1 or h2, etc on someones site?


    -kd
     
    kirdes, Mar 13, 2008 IP
  4. awatson

    awatson Active Member

    Messages:
    112
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #4
    It's up to whoever coded the site. Think of your site's content as an outline what are the appropriate headings? Page titles probably for H1, then major points one each page as h2s, etc.
     
    awatson, Mar 13, 2008 IP
  5. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It's like a newspaper layout. You have a main heading (h1), a few sub-headings (h2), several minor headings (h3), and then text (p). I don't think I've ever used h5 or h6.
     
    Cash Nebula, Mar 14, 2008 IP
  6. SNGDomains

    SNGDomains Peon

    Messages:
    125
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    H1 Headings help A LOT in SEO! Try making your H1 and H2 to include important keywords! Hope this tip helps some of you who may not know this trick.
     
    SNGDomains, Mar 14, 2008 IP