Im Down To 2 W3 Errors - Please Help !

Discussion in 'HTML & Website Design' started by locals, Dec 16, 2008.

  1. #1
    i am only getting these two errors :

    Line 108, Column 42: document type does not allow element "TD" here; assuming missing "TR" start-tag.
    <td valign="top" width="311"  class="m1bg">
    Code (markup):

    Line 120, Column 28: start tag for "TR" omitted, but its declaration does not permit this.
      <td width=200 height=100>
    Code (markup):
    PLEASE HELP THANKS !
     
    locals, Dec 16, 2008 IP
  2. Spawny

    Spawny Well-Known Member

    Messages:
    252
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #2
    try adding double quotes to your td attributes i.e

    <td width="200" height="100">
    Code (markup):
     
    Spawny, Dec 16, 2008 IP
  3. ayaw

    ayaw Peon

    Messages:
    164
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It seems that you missed the <tr> tag

    where is your site? We must take a look at your pages first.
     
    ayaw, Dec 16, 2008 IP
  4. locals

    locals Well-Known Member

    Messages:
    1,677
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    153
    #4
    IT WAS THE TR TAG THANKS . . . now i am running into this these are runing side by side and NOT top to bottom which is what i need.

    please help one last time THANKS !

    
    <table>
    <tr>
        <td width=200 height=100>
        <img src='/insurance_images/cheap_ins.png' name='PictureBox' width='200' height='100' alt='CHEAP Car Auto Insurance'>
    	</td>
    
        <td id=CaptionBox class=Caption align=center bgcolor=000000>
        Cheap Insurance FREE Quotes
    </td>
    </tr>
    </table>
    
    
    Code (markup):
     
    locals, Dec 16, 2008 IP
  5. freelancerguy

    freelancerguy Banned

    Messages:
    102
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    <img src='/insurance_images/cheap_ins.png' name='PictureBox' width='200' height='100' alt='CHEAP Car Auto Insurance'>
    img tag should be close

    <img src='/insurance_images/cheap_ins.png' name='PictureBox' width='200' height='100' alt='CHEAP Car Auto Insurance' />
    </td>
     
    freelancerguy, Dec 16, 2008 IP
  6. ayaw

    ayaw Peon

    Messages:
    164
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #6
    
    <table>
    <tr>
        <td width=200 height=100>
        <img src='/insurance_images/cheap_ins.png' name='PictureBox' width='200' height='100' alt='CHEAP Car Auto Insurance'>
    	</td>
    [B]</tr>
    <tr>
    [/B]    <td id=CaptionBox class=Caption align=center bgcolor=000000>
        Cheap Insurance FREE Quotes
    </td>
    </tr>
    </table>
    
    
    Code (markup):
    [/QUOTE]

    just add those bold </tr> and <tr> and you're done
    but I suggest you to put qoutes on every value eq:
    <td id="CaptionBox" class="Caption" align="center" bgcolor="000000">

    this will be better
     
    ayaw, Dec 16, 2008 IP
  7. locals

    locals Well-Known Member

    Messages:
    1,677
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    153
    #7
    THANKS THAT WORKED !
     
    locals, Dec 16, 2008 IP
  8. freelancerguy

    freelancerguy Banned

    Messages:
    102
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Just add / at the end of the img tag

    like :<img src="" alt="" />
     
    freelancerguy, Dec 16, 2008 IP
  9. locals

    locals Well-Known Member

    Messages:
    1,677
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    153
    #9
    now that i have PASSED the validation . . . do you think that this will help SEO ? i am trying to come up for COMPETIVE keywords and now that the code is VALIDATED do you think that will help ?
     
    locals, Dec 16, 2008 IP
  10. PixelRaider

    PixelRaider Banned

    Messages:
    57
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I wouldn't say having a Valid Markup helps with SEO by any means. I have seen a number of sites with coding errors that still rank #1 in search listings.

    As a friend of mine once told me, SEO is like baking a cake...many factors contribute towards the final result. Seeing as crawl bots tend to ignore as much code as possible and focus primarily on the content / keywords, that would suggest validated code matters even less in terms of SEO.

    Hope this helps.
     
    PixelRaider, Dec 16, 2008 IP
  11. locals

    locals Well-Known Member

    Messages:
    1,677
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    153
    #11
    i can see how that is valid ;)

    because i have ALOT of sites with errors ALL OVER THEM still getting ranked but i didnt know if it was just cause the keywords werent that competitive
     
    locals, Dec 16, 2008 IP
  12. Yesideez

    Yesideez Peon

    Messages:
    196
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Having compliant code just helps make your site readable on many more platforms. For example, those little problems you just fixed could now mean your site can be viewed on a larger number of PDAs than before.

    I gave up worrying about compliant HTML any more because as mentioned - several high ranking sites don't verify.

    Take a look at Microsoft and see if you can find ANY site that validates.
     
    Yesideez, Dec 16, 2008 IP
  13. locals

    locals Well-Known Member

    Messages:
    1,677
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    153
    #13
    locals, Dec 17, 2008 IP