W3C Validator

Discussion in 'HTML & Website Design' started by gooseandluba, Jun 22, 2009.

  1. #1
    I have numerous errors when checking the validation of our site. If anyone has the time to take a look at the 1st link in my sig and offer any advice on how to make improvements, it would be greatly appreciated.

    Thanks to all!
     
    gooseandluba, Jun 22, 2009 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    First, use the correct doctype:

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

    Second, get rid of the XHTML end tags, />, since you are using HTML. Remove the slash.

    Then revalidate and see where we stand.

    FrontPage is the worst automatic code generator on the planet. Plus, you should never use tables for layout.
     
    drhowarddrfine, Jun 22, 2009 IP
  3. gooseandluba

    gooseandluba Peon

    Messages:
    202
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Drhoward, thank you for your response, however, I should have mentioned that I have extremely limited knowledge with coding thus, I'm not sure I understand how to resolve the issues. We are using Dreamweaver which I thought would eliminate the problems we are encountering.

    How would I get rid of the "tables"?
     
    gooseandluba, Jun 22, 2009 IP
  4. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What is causing this at line 304? It looks like a script is adding a complete HTML page inside a table.
    
     <TD bgColor=#f5f5f5><!DOCTYPE html PUBLIC  -//W3C//DTD XHTML 1.0 Transitional//EN   http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd >
    <html xmlns= http://www.w3.org/1999/xhtml >
    Code (markup):
    Fix that and most of the errors should disappear.
     
    Cash Nebula, Jun 22, 2009 IP
  5. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #5
    At the end of the day, this is computer science.
    Sorry, I thought you said FrontPage. Dreamweaver, too, is an automatic code generator. The newest one does a decent job, I've heard, but it's still a robot and not a human.
     
    drhowarddrfine, Jun 22, 2009 IP