To be able to be validated, each HTML document should have a leading doc type declaration. Jeff has set the doc type in our default master to be 4.01 transitional in response to this bug report by Vinod Kurup.
So on the 4.6 branch our doc type is 4.01 transitional by default, but I doubt that anyone has actually checked that all pages are compliant. I'm also not sure we will put effort into enforcing such compliance on that branch.
On cvs head (OpenACS 5.0) I changed the default master to take a doc_type argument so that packages can choose a stricter document type. For the Logger I am experimenting with enforcing XHTML 1.0 strict.
I am posting primarily because I wanted to remind developers of the issue of web standards compliance (HTML/CSS) and to encourage them to use the W3C validator on their pages now and then.
Ideally I would like to make Tclwebtest use the W3C validator and set up test cases to crawl all pages in an installation and make sure that all our core packages and supported applications are at least compliant with HTML 4.01 transitional. The question of course is if we shouldn't shoot for XHTML 1.0 strict while we're at it... That's at least what I will be doing for the applications I develop.