DOCTYPE
January 12, 2010
The doctype at the top of your HTML controls the mode that the browser uses when parsing your HTML. If you don't put a doctype it assumes that you don't really know what you're doing and so renders using Quirks mode. Some doctypes put a browser into standards mode, and …