1 What DOCTYPE to use? Sat Jul 17, 2010 3:13 am
RockerMan
Technician
What DOCTYPE to use? Guide on how to choose proper doctype |
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 ). Hope that helps. I know http://www.w3schools.com has some info on DTD's too if you need more explanation. |
Notice : This tutorial is copyrighted by WebArtz Forum. You may not publish it on anywhere without written permission from the administrators. |