My site index page has 45 validation errors: http://validator.w3.org/check?uri=h...charset=(detect+automatically)&doctype=Inline It also has no doctype (which should it be? - i made this in frontpage). Also, is it worth the effort trying to get the site to validate? It ranks first for its main target keyword. notting
<!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
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
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