HTML and CSS Reference
In-Depth Information
Fundamental Syntax and Semantics
Emily Lewis
1.0 Introduction
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
the topic.
1.1 Specifying the DOCTYPE
You want to create an HTML5 page.
Specify the HTML5 DOCTYPE at the very beginning of your page:
<!DOCTYPE html>
<title>HTML5, for Fun &amp; Profit</title>
Note that the DOCTYPE is not case sensitive. Feel free to go CaMeL
cAsE with the characters.
Search WWH ::

Custom Search