Good grief! Most of this looks friendly enough, but whats that scary “DOCTYPE” line all about?
The DOCTYPE tells the web browser what version of XHTML we’re using. In this case I’ve specified XHTML 1.0 Strict, because this code is 100% compliant with the rules of XHTML. You don’t need to understand this line in detail – just know that you should include it if you plan to write standards-compliant web pages. And you should. Those who must use HTML elements that aren’t included in strict XHTML can use the “transitional DTD” (Data Type Declaration) instead: