HTML5 Unleashed is the authoritative guide that covers the key web components driving the future of the Web. Harness the power of HTML5 to create web apps and solutions that deliver state-of-the-art media content and interactivity with new Audio, Video, and Canvas elements. HTML5 technologies are essential knowledge for today's web developers and designers. New APIs such as Local Storage, Geolocation, Web Workers, and more expand the Web as a platform, allowing for desktop-like applications that work uniformly across platforms. Comprehensive and up-to-date, HTML5 Unleashed is organized as an accessible guide of tutorials and practical references. Because HTML5 covers a far-reaching set of standards, each chapter in HTML5 Unleashed is written to stand on its own. Whether you choose to skip around or read it cover to cover, full-color syntax and figures in HTML5 Unleashed ensure that you do not need to be next to a computer to learn the most important concepts of the modern Web. DETAILED INFORMATION ON HOW TO...* Use new HTML5 features and syntax to create common web page components in a standardized way, with less code* Ensure graceful backward compatibility with "polyfilling" libraries, so users of older browsers are not left behind* Harness the power of semantic HTML5 tags and Microdata to improve your site accessibility and search engine results* Create consistent, rich user experiences across desktop and mobile platforms with the new Audio and Video elements* Create HTML5 Canvas web applications, with chapters dedicated to Canvas interactivity and Canvas performance* Utilize the new functionality of Geolocation to display locality-aware content to users and harness the power of GPS* Use the new Local Storage options to build pages that work offline and robust apps that can store heavyweight data client-side* Allow more sophisticated page communication with Cross-Document Messaging and enable multithreaded JavaScript with Web Workers* Communicate with servers in real-time with WebSockets and take advantage of the new Ajax possibilities with XMLHttpRequest Level 2Introduction 1 Who Should Read This Book? 2 HTML5 and Related Technologies 2 Software Requirements 3 Code Examples 3 How This Book Is Organized 3 Part I: Background 4 Part II: New HTML Elements 4 Part III: Canvas 4 Part IV: HTML5's JavaScript APIs 4 Links and Real-World Examples 5 Chapter 1: Why HTML5? 7 How Did We End Up Here? 7 The Web Takes Off 9 The Rise of the Browser Plug-In 9 Web 2.0 10 HTML5 11 What Exactly Is HTML5? 11 The Importance of HTML5 12 Are Plug-ins Dead? 14 Summary 14 Chapter 2: Important Concepts for HTML5 15 The Goals of HTML5 15 Improving the Native Web 15 More Done with Less Code 16 The Semantic Web 16 Requisites for HTML5 Development 16 Modern Browser Developer Tools 16 HTML5 Fallbacks: Shims, Shivs, and Polyfills 17 Feature Support and Detection 18 Summary 19 Chapter 3: Getting Started with HTML5: Semantic Tags, Forms, and Drag and Drop 21 Ensuring Backward Compatibility with the New HTML Tags 21 The HTML5 Shim 22 HTML5 Boilerplate 23 Starting from the Top 23 The Doctype 23 Meta Character Encoding 24 HTML5 Syntax and Validation 24 How You Should Write Your HTML 27 Housekeeping 29 HTML5 Semantic Elements and Other Presentational Tags 31 HTML5 Semantic Tags 31 Document Outlines in HTML5 33 Minor Semantic and Presentational HTML5 Tags 35 Visual HTML5 Tags: and