HTML5 and CSS3 are more than just buzzwords--they're the foundation for today's web applications. This book gets you up to speed on the HTML5 elements and CSS3 features you can use right now in your current projects, with backwards compatible solutions that ensure that you don't leave users of older browsers behind. This new edition covers even more new features, including CSS animations, IndexedDB, and client-side validations.
HTML5 and CSS3 power today's web applications, with semantic markup, better forms, native multimedia, animations, and powerful APIs. You'll get hands-on with all the new features with practical example projects, and find what you need quickly with this book's modular structure. "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 features mature.
This revised second edition walks you through new features such as IndexedDB, CSS Animations, SVG, and more, along with updated fallback solutions. You'll use HTML5's new markup to create better structure for your content and better interfaces for your forms. You'll work with new form controls and validations, and build interfaces that are accessible to assistive technology and mobile devices. You'll draw with the Canvas and SVG, do simple animations with pure CSS, work with advanced CSS selectors, and make audio and video play natively.
You'll bring your web apps to the next level as you use Web Storage and IndexedDB to save data on the client and make applications available offline. And you'll discover how to use web sockets, geolocation, cross-document messaging, and the History API to create even more interactive applications.
What You Need:
You'll need the latest versions of Google Chrome, Firefox, Opera, and Internet Explorer, along with a text editor with good support for HTML5 and CSS3 syntax. Instructions for testing on older versions of Internet Explorer are included in the book.
Table of Contents
Chapter 1. An Overview of HTML5 and CSS3
Part I: Improving User Interfaces
Chapter 2. New Structural Tags and Attributes
Chapter 3. Creating User-Friendly Web Forms
Chapter 4. Styling Content and Interfaces
Chapter 5. Making Accessible Interfaces
Part II: New Sights and Sounds
Chapter 6. Drawing in the Browser
Chapter 7. Embedding Audio and Video
Chapter 8. Eye Candy
Part III: Beyond Markup
Chapter 9. Saving Data on the Client
Chapter 10. Creating Interactive Web Applications
Chapter 11. Where to Go Next
Appendix A1. Features Quick Reference
Appendix A2. jQuery Primer
Appendix A3. Encoding Audio and Video for the Web
Appendix A4. Resources