Forum Moderators: open
I assume it's probably not recommened to have a mix of doctypes (or is it?). And, what do you think, leave the few xhtml doctypes as xhtml or change them all to html doctypes? For the most part without being re-done the site will only take an html transitional doctype (with the exception of a few). Thanks a lot! Keep in mind, I did not build the website - only fixing it.
I assume it's probably not recommened to have a mix of doctypes
Does not matter. Pages are all called and crawled individually, won't hurt a thing.
And, what do you think, leave the few xhtml doctypes as xhtml or change them all to html doctypes?
This decision is really yours in that it depends on the time and budget to perform the task of unifying the documents. In terms of overall maintenance, I would make them all the same, and unless I have a very good reason for using XHTML, I would not make them XHTML. XHTML has a specific application and it's not what most people think. Unless I perform functions that require an XHTML doctype, I'd go with 4.01 strict or transitional.
The doctype you use should depend on your content... whether you need xhtml functionality, and whether you use depreciated tags. If you like iframes, or some depreciated tags and attributes, you should consider using transitional doctype, otherwise strict would be a good choice. Mostly likely you would not need xhtml functionality, so it would just be html 4.01 until html 5 gets implemented (quite a while)
You said "the rest have none", meaning no doctype at all? that's something you probably don't want now-a-days because it runs in quirks mode, which varies on different browsers, and does not follow the web standards, so it's unpredictable.