aussie123 Posted April 10, 2006 Share Posted April 10, 2006 Hi,I have been told i need to add a doctype statement to my site .I have no idea what i need here so i was hoping someone can do one for me to add to my site to suit my html.I added one but its not what i need,when i did a scan it says i have 173 errors.Please can someone help me here.The following is my site i need one for.RegardsAussie123[a href=\"http://www.singleconnexions.com\" target=\"_blank\"]SingleConnexions.com[/a] Quote Link to comment https://forums.phpfreaks.com/topic/6992-doctype-statement/ Share on other sites More sharing options...
kenrbnsn Posted April 10, 2006 Share Posted April 10, 2006 This is not a PHP question, but rather it should be under the HTML forum.In order to get familar with what DOCTYPE are used where, start [a href=\"http://www.w3.org/QA/Tips/Doctype\" target=\"_blank\"]here[/a].Ken Quote Link to comment https://forums.phpfreaks.com/topic/6992-doctype-statement/#findComment-25395 Share on other sites More sharing options...
wildteen88 Posted April 10, 2006 Share Posted April 10, 2006 I would recommend you this DOCTYPE:[code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">[/code]You can get more DOCTYPES [a href=\"http://www.w3schools.com/tags/tag_doctype.asp\" target=\"_blank\"]here[/a]It doesn't mater what DOCTYPE you have those errors won't go away as your HTML syntax is in fact invalid in some places. To check out any errors with your html head over to the [a href=\"http://validator.w3.org/\" target=\"_blank\"]HTML Validator[/a]. This will show up any problems with your current HTML syntax and ways to correct the errors too.Also I am moving this to the HTML Help forum. Quote Link to comment https://forums.phpfreaks.com/topic/6992-doctype-statement/#findComment-25444 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.