On Thu, 1 Apr 2010, Chris Blake wrote: > HI, > > Although it's not a CSS question it is strongly related to validation > which is something we all care about at css-discuss so I am sticking > my neck out a bit but hope to get an OK response. > > I have validated a very simple layout and although it validates I am > getting a few warnings: > http://validator.w3.org/check?uri=http%3A%2F%2Fwch.redrunner.co.uk%2F&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.767 > > Most seem to be to do with the doctype which is something I know > little about. Basically I want to chose the easiest one to use (easy > in the sense of validation). The results gave me a link to a page of > different doctypes and what I think is I should be choosing either > HTML 4.0.1, or xhtml 1.0, Transitional. Am I right? What's the > difference?
I recommend 4.01 strict. If it's a new page, you shouldn't use transitional. That's for the transition of an old page to valid markup. Here is the list of valid doctypes: <http://www.w3.org/QA/2002/04/valid-dtd-list.html> > The site I am going to be using is going to be strictly HTML, CSS and > images. I may, depending on results need to use a PNG fix. -- Chris F.A. Johnson, <http://cfajohnson.com> Author: Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress) Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress) ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/