[thelist] Default Doc type

Anthony Baratta anthony at baratta.com
Fri Jun 9 10:06:29 CDT 2006


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

As Brian opined, use strict. Either xHTML or 4.01 will be fine. 
> 
> 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.

Remember, the docType is for the browser. What programming language you use to create the HTML is independent of the way you want the browser to render the HTML.




More information about the thelist mailing list