Headers

Discussion in 'Search Engine Optimization' started by Lawsuit, Apr 24, 2005.

  1. #1
    Hey guys, I was using this in the top left corner of my page before

    <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="">yourdomain.com</a><br /><span class="gensmall"></td>
    Code (markup):

    and now I am using this

    <td align="left" valign="bottom" colspan="2"><h1><a class="maintitle" href="">yourdomain.com</a></h1><br /><span class="gensmall"></td>
    Code (markup):

    Fonts look exactly the same, everything looks exactly the same even though I added an <h1></h1> tag, my question is, will the search engine see this as a header?

    Keep in mind:

    - There is a link between my <h1></h1> tag
    - There is a bunk of other junk between my <h1></h1>

    The reason I worry is because the font didn't even change.

    So anyways my question is:

    Thank you in advance.
     
    Lawsuit, Apr 24, 2005 IP
    nevetS likes this.
  2. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #2
    
    <td align="left" valign="bottom" colspan="2">
    	<h1>
    		<a class="maintitle" href="">yourdomain.com</a>
    	</h1>
    	<br />
    	<span class="gensmall">
    </td>
    
    PHP:
    The Span tag seems out of place and would do nothing for that cell. Where is the closing </span> tag for it? Does it have a purpose?
     
    noppid, Apr 24, 2005 IP
  3. Lawsuit

    Lawsuit Banned

    Messages:
    347
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I will close it, thank you for that.

    <td align="left" valign="bottom" colspan="2"><h2><a class="maintitle" href="{U_SITENAME}">{SITENAME}</a></h2><br /><span class="gensmall"></span></td>
    Code (markup):
    Would that have caused any trouble though? I fixed it now, will it see it as a header now?

    Thank you very much :)
     
    Lawsuit, Apr 24, 2005 IP
  4. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #4

    Well I need to see more code, however, I would put it as a stand alone between tables if you could pull off the positioning so it stands alone in the body.

    As for trouble, it would have thrown a found open tag with no close tag error. Not fatal, but could cause formatting to occur by that tag somewhere unexpected.

    That's all I got.
     
    noppid, Apr 24, 2005 IP
  5. Lawsuit

    Lawsuit Banned

    Messages:
    347
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Should <h1></h1> be between <head></head>?

    Like so:

    <head>
    ...Title...
    ....Meta Tag...
    <h1>The Book</h1>
    </head>

    or is it ok in the body
     
    Lawsuit, Apr 24, 2005 IP
  6. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #6
    After the <body> tag, not in the <head> tags.
     
    noppid, Apr 24, 2005 IP
  7. Lawsuit

    Lawsuit Banned

    Messages:
    347
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Ok, so without the <h2> it looks like this:

    <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="http://yahoo.com">Yahoo!</a><br /><span class="gensmall"><b><br /><br /></b></span></td>
    Code (markup):
    Where would you throw in the <h2></h2>

    Thanks!
     
    Lawsuit, Apr 24, 2005 IP
  8. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #8
    Again, I'd try to place it outside the table if possible. But if it fits in a table cell, it may be good. I'm no SEO expert, I know code.
     
    noppid, Apr 24, 2005 IP
  9. Lawsuit

    Lawsuit Banned

    Messages:
    347
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I don't know what that means, I don't know anything, are you saying I should do this:

    <h2><td align="left" valign="bottom" colspan="2"><a class="maintitle" href="http://yahoo.com">Yahoo!</a><br /><span class="gensmall"><b><br /><br /></b></span></td></h2>

    thanks
     
    Lawsuit, Apr 24, 2005 IP
  10. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #10

    No, you can't do that, just do it the way you had it, I was being picky, I don't want to confuse you. :)

    Put the <h1> tag back inside the <td> tags.
     
    noppid, Apr 24, 2005 IP
  11. Lawsuit

    Lawsuit Banned

    Messages:
    347
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Ok, so

    Thanks!
     
    Lawsuit, Apr 24, 2005 IP