HTML5 and CSS3 are the future of web development, but you don't have to wait to start using them. Even though the specification is still in development, many modern browsers and mobile devices already support HTML5 and CSS3. This book gets you up to speed on the new HTML5 elements and CSS3 features you can use right now, and backwards compatible solutions ensure that you don't leave users of older browsers behind.
This book gets you started working with many useful new features of HTML5 and CSS3 right away. Gone are the days of adding additional markup just to style a button differently or stripe tables. You'll learn to use HTML5's new markup to create better structure for your content and better interfaces for your forms, resulting in cleaner, easier-to-read code that can be understood by both humans and programs.
You'll find out how to embed audio, video, and vector graphics into your pages without using Flash. You'll see how web sockets, client-side storage, offline caching, and cross-document messaging can ease the pain of modern web development. And you'll discover how simple CSS3 makes it to style sections of your page. Throughout the book, you'll learn how to compensate for situations where your users can't take advantage of HTML5 and CSS3 yet, developing solutions that are backwards compatible and accessible.
You'll find what you need quickly with this book's modular structure, and get hands-on with a tutorial project for each new HTML5 and CSS3 feature covered. "Falling Back" sections show you how to create solutions for older browsers, and "The Future" sections at the end of each chapter get you excited about the possibilities when HTML5 and CSS3 reach widespread adoption. Get ready for the future---in fact, it's here already.
Table of Contents
Chapter 1 An Overview of HTML5 and CSS3
part 1 Improving User Interfaces
Chapter 2 New Structural Tags and Attributes
Chapter 3 Creating User-Friendly Web Forms
Chapter 4 Making Better User Interfaces with CSS3
Chapter 5 Improving Accessibility
part 2 New Sights and Sounds
Chapter 6 Drawing on the Canvas
Chapter 7 Embedding Audio and Video
Chapter 8 Eye Candy
part 3 Beyond HTML5
Chapter 9 Working with Client-Side Data
Chapter 10 Playing Nicely with Other APIs
Chapter 11 Where to Go Next
appendix.A Features Quick Reference
appendix.B jQuery Primer
appendix.C Encoding Audio and Video