The Purpose and Importance of a DOCTYPE

Date November 8, 2010

Recently someone asked me what a DOCTYPE was. I paused for a moment and thought, “well, I know the DOCTYPE is the first thing at the top of every webpage, even before the HTML tag.” Quite honestly though, I had no idea what the purpose of it was. When I start coding a new page, [...]