krga86 Posted November 22, 2014 Share Posted November 22, 2014 My code on website is not validate on W3 Validator. <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title> Contact </title> <meta name="description" content="Inzenjerski portal,baza znanja,vesti,seme,desavanja"/> <meta name="keywords" content="Automatika,PLC,frekventni regulatori,arduino"/> <meta name="author" content="Nikola Krga"/> <meta name="robots" content="noindex, nofollow"/> <link type="text/css" rel="stylesheet" href="about.css"/> </head> <body> <table bgcolor="#b5a789" align="center" width="100%" border="1" cellpadding="10" cellspacing="6"> <tr> <td bgcolor="#675c47" align="center"><font size="5" color="blue" >Contact</font></td> </tr> <tr> <td align="center" bgcolor="efe5d0" > <div id="nav"> <a href="projekat1.php" >HOME</a> <a href="about.php" >ABOUT</a> <a href="contact.php" >CONTACT</a> </div> </td> </tr> <tr class="main"> <td> <ul type="circle"> <li><font color="blue" size="5">Arduino</font></li> <li><font color="blue" size="5">tel:+38122656454</font></li> <li><font color="blue" size="5">mob:+381642564829</font></li> <li><font color="blue" size="5">e-mail:arduino@gmail.com</font></li> </ul> </td> </tr> <tr> <td align="center" bgcolor="#675c47" width="100%" colspan="3"> © 2014, ARDUINO <br/> All trademarks and registered trademarks appearing on this site are the property of their respective owners. <br/><a href="http://validator.w3.org/check/referer">Validator</a> </td> </tr> </table> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/292647-php-website/ Share on other sites More sharing options...
ginerjm Posted November 22, 2014 Share Posted November 22, 2014 Ignoring that this forum is a PHP ONE and that you shouldn't have posted this question here, I offer this advice. When you next post this question somewhere, you might want to include the message you received when you ran the validation on it. You might also try and update this very old code (you wrote this a few years ago perhaps?) and use CSS and get rid of the repetitious styling and the deprecated attributes that your very old code is using. Quote Link to comment https://forums.phpfreaks.com/topic/292647-php-website/#findComment-1497346 Share on other sites More sharing options...
QuickOldCar Posted November 23, 2014 Share Posted November 23, 2014 But as ginerjm stated...is very old and should be redone. Consider doing it in html5 http://www.html-5-tutorial.com/ Quote Link to comment https://forums.phpfreaks.com/topic/292647-php-website/#findComment-1497355 Share on other sites More sharing options...
NetKongen Posted November 24, 2014 Share Posted November 24, 2014 I guess your site is live since you are able to validate it - why dont you use the comments that W3C gives you upon validation - it should be pretty clear what is wrong? As others also suggest it could be that it is your very old doctyp that is causing the site not to validate, and it would be best to make a switch to HTML5 and work from there... If you send the url to your site, we can validate it and explain to you what you need to correct. Quote Link to comment https://forums.phpfreaks.com/topic/292647-php-website/#findComment-1497490 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.