View Full Version : HTML 4.01 Strict vs. XHTML 1.0 Transitional


Breckenridge Realtor
10-22-2009, 09:18 PM
I have an old site that I would like to update and I have been learning Dreamweaver CS4 for the purpose of doing so. This has had me watching TONS of tutorial videos. In one, the instructor stated that new pages should be created using a DocType of HTML 4.01 strict but he did not give any indication as to why. The default in Dreamweaver CS4 is XHTML 1.0 transitional and this is what most of the other videos seem to use.

What are the pros and cons that I should be considering and what do you suggest?

Thanks!

Paz
11-15-2009, 10:26 AM
It's been years since I coded a site from scratch but as I remember I used an HTML 4.01 strict (vs transitional) to get my CSS layout working properly.

I'd take any tutorial advice with a pinch of salt because they may be out of date.

XHTML is quite a different markup and there's more on the difference here (http://www.wdvl.com/Authoring/Languages/XML/XHTML/dif.html) .

Cheers,
Paz.