Chapter 04. HTML5 Basics

Before we dive into some code examples, let’s go over some typographical conventions used in this tutorial.

HTML5 Now Text Conventions

In this reference guide, we’ll be using the following conventions for old code vs. new code:

Convention

Description

monospace

Code in general is shown in monospace type.

bold gray monospace

Old or obsolete code is bold, gray, italicized.

bold orange monospace

Transitional code is orange, bold, dotted-underlined.

bold fuchsia monospace

New and recommended code is fuchsia and bold.

blue text

Hyperlinked text.

Now that you know how to read the code, let’s jump straight into using it!

New Doctype

Currently you ...

Get HTML5 Now: A Step-by-Step Video Tutorial for Getting Started Today now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.