Do H1 tags have to be within the HEAD tags ?

Discussion in 'Search Engine Optimization' started by eyes2005, Feb 21, 2006.

  1. #1
    Do H1 tags .... <h1></h1>

    have to be inside the head tags ... <head1></head1>

    is it better if they are inside
    or if they are outside the head tag it wont matter?
     
    eyes2005, Feb 21, 2006 IP
  2. ServerUnion

    ServerUnion Peon

    Messages:
    3,611
    Likes Received:
    296
    Best Answers:
    0
    Trophy Points:
    0
    #2
    They will only work within the <BODY> portion of you HTML. Good luck...
     
    ServerUnion, Feb 21, 2006 IP
  3. eKstreme

    eKstreme Guest

    Messages:
    131
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well no. Here is a quick run down of a very basic HTML page:

    
    <html>
    <head>
    <title>My super page</titile>
    </head>
    
    <body>
    <h1>Heading</h1>
    <p>You like this page?</p>
    
    </body>
    </html>
    
    Code (markup):
    So the heading tags are only part of the body. There are no head1 tags - just a single Head section. Anything in the head section (between <head> and </head>) is not usually visible on the web page: the meta tags, the CSS styles, etc. What you see in front of you is the BODY of the page, and that includes the headings (H1-H6).

    For more info about basic HTML, check out HTML Help.
     
    eKstreme, Feb 21, 2006 IP
  4. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
    #4
    mcfox, Feb 21, 2006 IP
  5. kelp

    kelp Peon

    Messages:
    306
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I guess it's confusing since there's a tag called "head" and there's a tag that stands for header. They are completely different from each other though.

    I thought I'd mention it's recommended to only use one h1 tag containing your keyword while using the h2 tag for lesser headings.
     
    kelp, Feb 21, 2006 IP
  6. catanich

    catanich Peon

    Messages:
    1,921
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #6
    The <h1> tag should be after the <body> as soon as possible. If you use it in the <head> section, it will be ignored or cause an HTML validation error. I have also seen the SEO tactic put it between the </head> and the <body>. It didn't help me.

    And you should use the <h1> tag only once.
     
    catanich, Jul 23, 2008 IP
  7. stompergames

    stompergames Peon

    Messages:
    222
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    haha good luck on that webpage...
     
    stompergames, Jul 23, 2008 IP