Books & Videos

Table of Contents

  1. Chapter 1 Fundamental Syntax and Semantics

    1. Introduction

    2. Specifying the DOCTYPE

    3. Specifying the Character Set

    4. Specifying the Language

    5. Optimizing <script>s and <link>s

    6. Adding Document Structure with HTML5’s New Elements

    7. Choosing Between <article> and <section>

    8. Checking Your Document Outline

    9. Modifying the Document Outline

    10. Emphasizing Text

    11. Adding Importance to Text

    12. Highlighting Text for Reference

    13. Marking Up Small Print

    14. Defining Acronyms and Abbreviations

    15. Adding Links to Block-Level Content

    16. Marking Up Figures and Captions

    17. Marking Up Dates and Times

    18. Setting the Stage for Native Expanding and Collapsing

    19. Controlling the Numbering of Your Lists

    20. Hiding Content to Show Later

    21. Making Portions of a Page Editable

    22. Setting the Stage for Native Drag-and-Drop

  2. Chapter 2 Progressive Markup and Techniques

    1. Introduction

    2. Adding More Semantic Meaning

    3. Picking a Markup Style

    4. Understanding Browser Support for HTML5

    5. Making Internet Explorer Recognize HTML5 Elements

    6. Detecting HTML5 Features with JavaScript

    7. Using HTML5 Boilerplate

    8. Validating HTML5

    9. Mapping HTML5 Elements to ID and Class Names

  3. Chapter 3 Forms

    1. Introduction

    2. Displaying a Search Input Field

    3. Contact Information Input Fields

    4. Utilizing Date and Time Input Fields

    5. Number Inputs

    6. Selecting from a Range of Numbers

    7. Selecting Colors

    8. Creating an Editable Drop-Down

    9. Requiring a Form Field

    10. Autofocusing a Form Field

    11. Displaying Placeholder Text

    12. Disabling Autocomplete

    13. Restricting Values

    14. Making HTML5 Work in Older Browsers

    15. Validating Form Data in Older Browsers with JavaScript

    16. Example: Sample Form

  4. Chapter 4 Native Audio

    1. Introduction

    2. Adding HTML5 Audio

    3. Manipulating the Audio Stream

    4. Generating <audio> Using JavaScript

    5. Visualizing <audio> Using <canvas>

    6. Sample Design: Custom Audio Player

  5. Chapter 5 Native Video

    1. Introduction

    2. Adding HTML5 Video

    3. Ensuring Multi-Browser Video Support

    4. Setting Video Dimensions

    5. Displaying a Placeholder Image Before Video Plays

    6. Making Video Loop

    7. Sample Design: Manipulating Video with <canvas>

  6. Chapter 6 Microdata and Custom Data

    1. Introduction

    2. Adding Microdata to Markup

    3. Using Microdata and Schema.org

    4. Adding Custom Data to Markup

    5. Accessing Custom Data with JavaScript

    6. Manipulating Custom Data

    7. Example: Creating a Map Application Using Custom Data

  7. Chapter 7 Accessibility

    1. Introduction

    2. Writing Appropriate alt Text Descriptions

    3. Identifying Abbreviations and Acronyms

    4. Identifying Sections of a Page Using ARIA Landmark Roles

    5. Creating More Accessible Navigation Links

    6. Associating Form Fields with Their Labels

    7. Grouping Form Fields Logically

    8. Enabling a fieldset Dynamically

    9. Identifying Required Form Fields

    10. Using ARIA Live Regions to Announce When Dynamic Content Is Updating

  8. Chapter 8 Geolocation

    1. Introduction

    2. Getting Basic Geolocation Data

    3. Getting Basic Geolocation Data with a Fallback

    4. Reverse Geocoding an Address with Latitude and Longitude

    5. Converting an Address into Latitude and Longitude

    6. Getting Directions from the Current Location

    7. Example: Starbucks to Starbucks

  9. Chapter 9 <canvas>

    1. Introduction

    2. Drawing on a <canvas>

    3. Using Transparency

    4. Setting <canvas> Dimensions

    5. Using Gradients, Patterns, and Line Styles

    6. Pulling External Images into a <canvas> Drawing

    7. Setting Color Transformations

    8. Working with Geometric Transformations

    9. Placing Text on a <canvas>

    10. Clipping <canvas> Drawings

    11. Animating <canvas> Drawings

    12. Drawing Graphs with <canvas>

    13. Saving a <canvas> Drawing to a File

  10. Chapter 10 Advanced HTML5 JavaScript

    1. Introduction

    2. Local Storage

    3. Application Caching

    4. Drag and Drop

    5. Web Workers

    6. Web Sockets

    7. History

    8. Local Files

  1. Appendix HTML5 Resources

  2. Colophon