Part 2
HTML Foundations
HTML5 is the latest of a series of HTML versions. To get the most out of HTML5, you need to know how it fits in with the other versions of HTML that came before it.
Most of this chapter is a review of standard HTML ideas. If you’ve never written any HTML by hand before, you’ll want to look it over carefully. If you’re already a code ace, you can probably just skim over it.
The content of this chapter forms a baseline. The code described here works in all modern browsers. As much of the HTML5 content is still browser-dependent, begin with a standard set of tags and elements that work on every browser. This chapter describes this lowest-common-denominator HTML syntax, which is expanded upon throughout the book.
In this part . . .
Reviewing HTML
Comparing HTML5 to XHTML and HTML 4
Building the Basic Page
Adding Images and Links
Formatting Data with Lists and Tables
Validating Your Code
Building Forms