HTML and CSS Reference
Fundamental Syntax and Semantics
This chapter is designed to get you up and running with HTML5 basics. Covering the
fundamental recipes, from declaring the DOCTYPE and character set to dealing with
ambiguities of the new HTML5 semantics, it helps lay the groundwork for the rest of
1.1 Specifying the DOCTYPE
You want to create an HTML5 page.
Specify the HTML5 DOCTYPE at the very beginning of your page:
<title>HTML5, for Fun & Profit</title>
Note that the DOCTYPE is not case sensitive. Feel free to go CaMeL
cAsE with the characters.