HTML5 is more than a markup language—it’s a collection of several independent web standards. Fortunately, this expanded guide covers everything you need in one convenient place. With step-by-step tutorials and real-world examples, HTML5: The Missing Manual shows you how to build web apps that include video tools, dynamic graphics, geolocation, offline features, and responsive layouts for mobile devices.
The important stuff you need to know:
Structure web pages more effectively. Learn how HTML5 helps web design tools and search engines work smarter.
Add audio and video without plugins. Build playback pages that work in every browser.
Create stunning visuals with Canvas. Draw shapes, pictures, and text; play animations; and run interactive games.
Jazz up your pages with CSS3. Add fancy fonts and eye-catching effects with transitions and animation.
Design better web forms. Collect information from visitors more efficiently with HTML5 form elements.
Build it once, run it everywhere. Use responsive design to make your site look good on desktops, tablets, and smartphones.
Include rich desktop features. Build self-sufficient web apps that work offline and store the data users need.
Chapter 1 Introducing HTML5
The Story of HTML5
Three Key Principles of HTML5
Your First Look at HTML5 Markup
A Closer Look at HTML5 Syntax
HTML5’s Element Family
Using HTML5 Today
How to Find the Browser Requirements for Any HTML5 Feature
Chapter 2 Structuring Pages with Semantic Elements
Introducing the Semantic Elements
Retrofitting a Traditional HTML Page
Browser Compatibility for the Semantic Elements
Designing a Site with the Semantic Elements
The HTML5 Outlining System
Chapter 3 Writing More Meaningful Markup
The Semantic Elements Revisited
Other Standards That Boost Semantics
A Practical Example: Retrofitting an “About Me” Page
How Search Engines Use Metadata
Chapter 4 Building Better Web Forms
Revamping a Traditional HTML Form
Validation: Stopping Errors
Browser Support for Web Forms and Validation
New Types of Input
An HTML Editor in a Web Page
Video, Graphics, and Glitz
Chapter 5 Audio and Video
The Evolution of Web Video
Introducing HTML5 Audio and Video
Understanding the HTML5 Media Formats
Fallbacks: How to Please Every Browser
Chapter 6 Fancy Fonts and Effects with CSS3
Using CSS3 Today
Building Better Boxes
Creating Effects with Transitions
Chapter 7 Responsive Web Design with CSS3
Responsive Design: The Basics
Adapting Your Layout with Media Queries
Chapter 8 Basic Drawing with the Canvas
Getting Started with the Canvas
Building a Basic Paint Program
Browser Compatibility for the Canvas
Chapter 9 Advanced Canvas: Interactivity and Animation
Other Things You Can Draw on the Canvas
Shadows and Fancy Fills
Making Your Shapes Interactive
Animating the Canvas
A Practical Example: The Maze Game
Building Web Apps
Chapter 10 Storing Your Data
Web Storage Basics
Deeper into Web Storage
IndexedDB: A Database Engine in a Browser
Chapter 11 Running Offline
Caching Files with a Manifest
Practical Caching Techniques
Chapter 12 Communicating with the Web Server
Sending Messages to the Web Server
Chapter 13 Geolocation, Web Workers, and History Management
Matthew MacDonald is a science and technology writer with well over a dozen books to his name. Web novices can tiptoe out onto the Internet with him in Creating a Website: The Missing Manual. HTML fans can learn about the cutting edge of web design in HTML5: The Missing Manual. And human beings of all descriptions can discover just how strange they really are in the quirky handbooks Your Brain: The Missing Manual and Your Body: The Missing Manual.