phat_hip_prog Posted September 11, 2007 Share Posted September 11, 2007 Hi, Sorry that this is probably in the wrong place, however it is the forum to be... Since i've got no formal training an a bit lax, i'm a touch unsure about being strict... I've just put a project in the bench-testing section here and i'm having a go at making it w3c compliant. It told me to set it as: <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"> I've got most bugs out except about 250'ish which all seem to be '>' close tags, if I physically set the validator page to html 4 strict, all these go and just leave me with 35 general bugs... What should I use? (the cms inc's basic html, css, js, ++div's) Cheers and once again oop's for location! ref's site: http://www.rawstar7.co.uk w3c: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.rawstar7.co.uk%2F&charset=%28detect+automatically%29&doctype=HTML+4.01+Strict&group=0 or w3c: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.rawstar7.co.uk%2F&charset=%28detect+automatically%29&doctype=Inline&group=0 Quote Link to comment https://forums.phpfreaks.com/topic/68828-doctype-q/ Share on other sites More sharing options...
Daniel0 Posted September 11, 2007 Share Posted September 11, 2007 I don't get it, you should just fix the errors. It must be a well-formed XML document when you use XHTML, that's why you get the errors with the close tags. Quote Link to comment https://forums.phpfreaks.com/topic/68828-doctype-q/#findComment-345972 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.