[thelist] Default Doc type

Brian Cummiskey Brian at hondaswap.com
Fri Jun 9 10:01:54 CDT 2006

Birdie wrote:

> What doc type should I be using if I am making general run of the mill, no
> fancy stuff HTML and SHTML files?

SHOULD is not set in stone.

Whether its html 4, or xhtml 1, I suggest using strict.  Transitional 
and/or loose are sloppy (in general).

> And what about if I have PHP pages, does this change what doc type I should
> be using ? I am a bit confused as to which doc types I should be using when
> and where.

PHP renders HTML.  the doctype is the same.

More information about the thelist mailing list