Choosing the Best Doctype for your Website
Posted on October 9, 2008
Filed Under Adoption |
What is a Doctype? “Doctype” is short for “document type declaration”: it declares what type (or “flavour”) of (X)HMTL you are writing. Different types of (X)HTML have different syntax rules, much as different languages or dialects have different vocabularies or grammars. (By the way, (X)HTML is shorthand for “either XHTML or HTML”.) Using a Doctype tells browsers how they should interpret your code. This means your website will be rendered with better consistency, because browsers don’t ha
Read the original:
Choosing the Best Doctype for your Website
Comments
Leave a Reply
You must be logged in to post a comment.