Synopses & Reviews
HTML5 is more than a markup language—it's a dozen independent web standards all rolled into one. Until now, all it's been missing is a manual. With this thorough, jargon-free guide, you'll learn how to build web apps that include video tools, dynamic drawings, geolocation, offline web apps, drag-and-drop, and many other features. HTML5 is the future of the Web, and with this book you'll reach it quickly.
The important stuff you need to know:
- Structure web pages in a new way. Learn how HTML5 helps make web design tools and search engines work smarter.
- Add audio and video without plugins. Build playback pages that work in every browser.
- Draw with Canvas. Create shapes, pictures, text, and animation—and make them interactive.
- Go a long way with style. Use CSS3 and HTML5 to jazz up your pages and adapt them for mobile devices.
- Build web apps with rich desktop features. Let users work with your app offline, and process user-selected files in the browser.
- Create location-aware apps. Write geolocation applications directly in the browser.
Synopsis
With HTML5, you can make your websites run smoothly on almost all browsers and incorporate video tools, dynamic drawings, geolocation, offline web apps, drag-and-drop, and more. HTML5: The Missing Manual gets you started with your first HTML5-powered site in the very first chapter and shows you how to use HTML5 with JavaScript, CSS, and other familiar tools. Find out how to make HTML5 work properly from the start and avoid common pitfalls. Bestselling author Matthew MacDonald shows you not only how HTML5 works but also how to best use its new features to create an effective web experience for your visitors.
About the Author
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 description can discover just how strange they really are in the quirky handbooks Your Brain: The Missing Manual and Your Body: The Missing Manual.
Table of Contents
The Missing Credits; About the Author; About the Creative Team; Acknowledgments; The Missing Manual Series; Introduction; What You Need to Get Started; When Will HTML5 Be Ready?; About the Outline; About the Online Resources; Safari® Books Online; Part 1: Meet the New Language; Chapter 1: Introducing HTML5; 1.1 The Story of HTML5; 1.2 Three Key Principles of HTML5; 1.3 Your First Look at HTML5 Markup; 1.4 A Closer Look at HTML5 Syntax; 1.5 HTML5's Element Family; 1.6 Using HTML5 Today; Chapter 2: A New Way to Structure Pages; 2.1 Introducing the Semantic Elements; 2.2 Retrofitting a Traditional HTML Page; 2.3 Browser Compatibility for the Semantic Elements; 2.4 Designing a Site with the Semantic Elements; 2.5 The HTML5 Outlining System; Chapter 3: Meaningful Markup; 3.1 The Semantic Elements Revisited; 3.2 Other Standards that Boost Semantics; 3.3 Google Rich Snippets; Part 2: Creating Modern Web Pages; Chapter 4: Web Forms, Refined; 4.1 Understanding Forms; 4.2 Revamping a Traditional HTML Form; 4.3 Validation: Stopping Errors; 4.4 New Types of Input; 4.5 New Elements; 4.6 An HTML Editor in a Web Page; Chapter 5: Audio and Video; 5.1 Understanding Video Today; 5.2 Introducing HTML5 Audio and Video; 5.3 Format Wars and Fallbacks; 5.4 Controlling Your Player with JavaScript; Chapter 6: Basic Drawing with the Canvas; 6.1 Getting Started with the Canvas; 6.2 Building a Basic Paint Program; 6.3 Browser Compatibility for the Canvas; Chapter 7: Deeper into the Canvas; 7.1 Other Things You Can Draw on the Canvas; 7.2 Shadows and Fancy Fills; 7.3 Making Your Shapes Interactive; 7.4 Animating the Canvas; 7.5 A Practical Example: the Maze Game; Chapter 8: Boosting Styles with CSS3; 8.1 Using CSS3 Today; 8.2 Web Typography; 8.3 Adapting to Different Devices; 8.4 Building Better Boxes; 8.5 Creating Effects with Transitions; Part 3: Building Web Apps with Desktop Smarts; Chapter 9: Data Storage; 9.1 Web Storage Basics; 9.2 Deeper into Web Storage; 9.3 Reading Files; Chapter 10: Offline Applications; 10.1 Caching Files with a Manifest; 10.2 Practical Caching Techniques; Chapter 11: Communicating with the Web Server; 11.1 Sending Messages to the Web Server; 11.2 Server-Sent Events; 11.3 Web Sockets; Chapter 12: More Cool JavaScript Tricks; 12.1 Geolocation; 12.2 Web Workers; 12.3 History Management; Part 4: Appendixes; A Very Short Introduction to CSS; Adding Styles to a Web Page; The Anatomy of a Style Sheet; Slightly More Advanced Style Sheets; A Style Sheet Tour; A Very Short Introduction to JavaScript; How a Web Page Uses JavaScript; A Few Language Essentials; Interacting with the Page; Colophon;