Which doctype do I use?

How do I know which doctype to use?
I use HTML 4.01 Transitional - dunno why - it just sort of happened.
Is it right or wrong and how would I know?
I have looked at various sites inc. W3C, but they don't make it clearer to
me.
--
Jim
Tyneside UK

Advertisements

Jim Scott wrote:
> How do I know which doctype to use?
> I use HTML 4.01 Transitional - dunno why - it just sort of happened.
> Is it right or wrong and how would I know?
> I have looked at various sites inc. W3C, but they don't make it clearer to
> me.
Look at your code, check the specs, especially what is deprecated and
obsolete

Advertisements

> How do I know which doctype to use?
> I use HTML 4.01 Transitional - dunno why - it just sort of happened.
> Is it right or wrong and how would I know?
> I have looked at various sites inc. W3C, but they don't make it clearer to
> me.

On Fri, 9 Sep 2005, jb wrote:
> If you want to look good, use a more recent doctype.

XHTML/1.0 Transitional is "more recent" than HTML/4.01 Strict, but,
far from making someone look "good", some of us think it makes them
look silly.

XHTML/1.0 Transitional could be regarded as a proof of concept by the W3C.
Whether "they" (the collective "they") ever expected anyone to seriously
use it for authoring, is, I'd suggest, an open question.

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!