I want my site to validate (do i?)....

Discussion in 'HTML & Website Design' started by Notting, Apr 18, 2007.

  1. #1
    Notting, Apr 18, 2007 IP
  2. bacanze

    bacanze Peon

    Messages:
    2,419
    Likes Received:
    127
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <!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">

    That should be the right one, regarding the errors, see hoe many dissapear when this is added, for a list of DTD's, look here
     
    bacanze, Apr 18, 2007 IP
  3. weknowtheworld

    weknowtheworld Guest

    Messages:
    306
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Try Dreamweaver to validate the page...
     
    weknowtheworld, Apr 18, 2007 IP
  4. Dakuipje

    Dakuipje Peon

    Messages:
    931
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Frontpage always ends up with adding useless pieces of code and a wrong doctype. If you have the money you should really use dreamweaver for coding your websites.

    Anyway here you go:
    You have some crappy pieces of code in your site anyway:
    Error  Line 83 column 47: there is no attribute "MARGINWIDTH".
    Code (markup):
    You have a lot of pieces like these:
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    HTML:
    And

    					<td colspan="2" rowspan="2" background="images/header_search_background.gif">
    
    ✉ 
    HTML:
    Try to make sure you specify everything correctly. First fix the DOCTYPE you will see your errors will decrease enourmously.


    Liked my advice, why not add to my reputation :)
     
    Dakuipje, Apr 18, 2007 IP
  5. Notting

    Notting Notable Member

    Messages:
    3,210
    Likes Received:
    335
    Best Answers:
    0
    Trophy Points:
    280
    #5
    Hi,

    Thanks for the advice guys, putting

    Made the validation errors go up to 190!

    Using dreamweaver can i get rid of these, is there a clean up code function?

    Cheers
    Notting
     
    Notting, Apr 18, 2007 IP