1 HTML Basics - What DOCTYPE? Fri Nov 11, 2011 2:22 am
RockerMan
Administrator
What DOCTYPE you choose depends exactly what you are coding in, HTML or XHTML. Once you know that then it is a process of choosing which type of doctype, transitional, strict, or frameset.
Frameset- This one is obvious, if you are using frames, use this.
Transitional- I am not sure if W3 meant this or not, but I usually think of transitional being used if you are transistioning between two languages (i.e. HTML and XHTML). It's less strict but still gets you going in the right direction.
Strict- It's just that, strict. Everything has to be exactly according to W3 standards. This is the most standards compliant way of doing things and, as I see it, the only way coding should be done (unless of course you have frames ).
Frameset- This one is obvious, if you are using frames, use this.
Transitional- I am not sure if W3 meant this or not, but I usually think of transitional being used if you are transistioning between two languages (i.e. HTML and XHTML). It's less strict but still gets you going in the right direction.
Strict- It's just that, strict. Everything has to be exactly according to W3 standards. This is the most standards compliant way of doing things and, as I see it, the only way coding should be done (unless of course you have frames ).