spdwrench Posted October 5, 2007 Share Posted October 5, 2007 My home page is showing errors when I check the with the validator how do I know what content type to asign to the page? can anyone give me an idea? the page is at http://abmatch.com Quote Link to comment https://forums.phpfreaks.com/topic/72035-content-type/ Share on other sites More sharing options...
bronzemonkey Posted October 6, 2007 Share Posted October 6, 2007 You haven't even used a doctype - http://www.w3.org/QA/2002/04/valid-dtd-list.html Quote Link to comment https://forums.phpfreaks.com/topic/72035-content-type/#findComment-363416 Share on other sites More sharing options...
spdwrench Posted October 7, 2007 Author Share Posted October 7, 2007 I tried several doc types and they all show error I do not know what doc type to use.... could you have a peek at the page and give me an idea what doctype it is??? thanks for any help Paul http://www.abmatch.com Quote Link to comment https://forums.phpfreaks.com/topic/72035-content-type/#findComment-363965 Share on other sites More sharing options...
bronzemonkey Posted October 7, 2007 Share Posted October 7, 2007 Every doctype is going to show you errors in the validator because your markup is full of errors. You should use one of the html 4.01 doctypes and read this - http://www.w3.org/QA/Tips/Doctype. Then go through each error that the validator highlights and correct them one by one. Read some html and css tutorials if you don't know what you are doing - http://www.w3schools.com/default.asp. Quote Link to comment https://forums.phpfreaks.com/topic/72035-content-type/#findComment-364034 Share on other sites More sharing options...
TheFilmGod Posted October 7, 2007 Share Posted October 7, 2007 Every doctype is going to show you errors in the validator because your markup is full of errors. You should use one of the html 4.01 doctypes and read this - http://www.w3.org/QA/Tips/Doctype. Then go through each error that the validator highlights and correct them one by one. Read some html and css tutorials if you don't know what you are doing - http://www.w3schools.com/default.asp. That's absolutely correct. You should strive to work with xhtml 1.0 strict, but since you have so many errors, then I'm not suprised you can't get any to work! Quote Link to comment https://forums.phpfreaks.com/topic/72035-content-type/#findComment-364070 Share on other sites More sharing options...
ToonMariner Posted October 9, 2007 Share Posted October 9, 2007 You shoudl strive to work with xhtml 1.1 (IMO of course - and NO I shall NOT be using html5 when it gets here cos it sounds like its going to be arse). Quote Link to comment https://forums.phpfreaks.com/topic/72035-content-type/#findComment-365293 Share on other sites More sharing options...
TheFilmGod Posted October 10, 2007 Share Posted October 10, 2007 You shoudl strive to work with xhtml 1.1 (IMO of course - and NO I shall NOT be using html5 when it gets here cos it sounds like its going to be arse). xhtml 1.1? Please explain the difference between 1.1 and 1.0 html strict. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/72035-content-type/#findComment-365879 Share on other sites More sharing options...
ToonMariner Posted October 10, 2007 Share Posted October 10, 2007 http://www.webstandards.org/learn/articles/askw3c/oct2003/ Unfortunately it focuses on 1.0 but does metion the ruby inclusion... Quote Link to comment https://forums.phpfreaks.com/topic/72035-content-type/#findComment-366324 Share on other sites More sharing options...
TheFilmGod Posted October 11, 2007 Share Posted October 11, 2007 http://www.webstandards.org/learn/articles/askw3c/oct2003/ Unfortunately it focuses on 1.0 but does metion the ruby inclusion... Sorry the article didn't help. I know the difference between 4.01 html and xhtml 1.0 strict. I want to know the difference between xthml 1.0 and xhtml 1.1 as you mentioned before. Quote Link to comment https://forums.phpfreaks.com/topic/72035-content-type/#findComment-366721 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.