Need help with html validation problem

Discussion in 'CSS' started by mikerock, Apr 22, 2007.

  1. #1
    Could someone please look at my blog and tell me why it is coming up with validation errors and help me change the lines of code that are wrong. It's only like 1 or 2 lines that are causing an issue. I'm trying to start a feedburner feed but it will not let me until the code is validated.

    please:confused:

    argentophoto (dot) com / blog
     
    mikerock, Apr 22, 2007 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    There are 20 errors, mostly similar. The error messages seem clear cut. Just which errors are giving you trouble?


    cheers,

    gary
     
    kk5st, Apr 22, 2007 IP
  3. mikerock

    mikerock Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    problem is I dont know how to fix them. Is there a way to show me?
     
    mikerock, Apr 22, 2007 IP
  4. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #4
    One step at a time. All foreground images require the alt attribute.

    <img src="some.png" alt="Eve shoves the apple down Adam's throat" />

    Get those fixed. That will rid a lot of clutter from the validation.

    cheers,

    gary
     
    kk5st, Apr 22, 2007 IP
  5. mikerock

    mikerock Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    The URL you entered does not appear to be a valid feed. We encountered the following problem: Error on line 404: The element type "div" must be terminated by the matching end-tag "</div>".


    that's one im having problems with
     
    mikerock, Apr 22, 2007 IP
  6. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #6
    Look to the bottom of the doc. You have a </div> after the </html>. I suspect that's the one you're looking for. You just need to find its opening tag, and find the spot where it should close.

    Rather than hunt this down&#8212;that's your job, anyway :)&#8212;I ran the source through the Firefox Tidy extension. The resulting cleaned up source is attached. It may be OK, or you may have to do a bit more.

    cheers,

    gary
     

    Attached Files:

    kk5st, Apr 22, 2007 IP