Can Drupal be set up for a site to serve [valid] HTML 4 pages instead of xhtml (via theming, presumably), or is xhtml hard-coded into Drupal itself (core, modules)?

I deem xhtml to be a buzzword fad. Plus users will often paste HTML 4 into fields, rendering any xhtml claims invalid anyway, so I'd rather have valid HTML 4 than invalid xhtml.

(I tried searching this site for the answer but couldn't find it, so I'm posting here.)

thanks,
-Walter

Comments

yelvington’s picture

There are plenty of Drupal sites delivering HTML4 instead of xhtml. There should not be any issues with core. It's possible that a contributed module might produces something that violates HTML4 or any other standard; if so, file a bug report with that project. See the theme developer's handbook for explanations of how to style or restyle components as well as pages; see http://drupal.org/project/htmlpurifier if you're worried about your users.