[consulting] XHTML doctype

Ng Chin Kiong niceckng at gmail.com
Tue Mar 10 04:34:53 UTC 2009


(found the edit subject in gmail)

Brian,
What you mentioned is correct.

The main reason XHTML is that's what user/client is looking for. By
conforming to the XHTML, it means a proper markup is in place, i.e. "well
formed", that it can be handled properly by myriad of browsers (incl. phone
or other smaller devices) which are less tolerant to badly formed markup
language.

An analogy is Drupal coding standard. By conforming to Drupal coding
standard, a module is in better  of with future changes, tools & processing
scripts (==browser) will be certain to work on them.

However, that does not mean it has to be served as application/xhtml+xml for
reasons you've brought up, it will throw errors and give problem on browser.


my $.02

Cheers,
CK Ng

forDrupal Premium Themes (http://fordrupal.com)
- we make drupal beautiful
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/consulting/attachments/20090310/3a13af19/attachment.htm 


More information about the consulting mailing list