HTML5: The Missing Manual (Missing Manuals)
Format: PDF / Kindle (mobi) / ePub
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.
supported this behavior for years, but it’s only HTML5 that makes it an official, albeit not terribly useful, part of the HTML standard. 24 HTML5: THE MISSING MANUAL, SECOND EDITION There are also some tweaks that don’t work yet—in any browser. For example, the
- element (for ordered lists) now gets a reversed attribute, which you can set to count backward (either toward 1, or toward whatever starting value you set with the start attribute), but currently there are only two browsers that
claimed as trademarks. Where those designations appear in this book, and O’Reilly Media is aware of a trademark claim, the designations are capitalized. While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained in it. ISBN-13: 978-1-4493-6326-0 [LSI] Contents The Missing Credits. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
developers clamoring for ways to make their markup more meaningful. Their goals weren’t always the same—some wanted to boost accessibility, some were planning to do data mining, and others just wanted to dial up the cool factor on their resumés. But none of them could find what they wanted in the standard HTML language which is why several new specifications sprung up to fill the gap. In the following sections, you’ll learn about no fewer than four of these standards. First, you’ll get the scoop
Markup 85 A PRACTICAL EXAMPLE: RETROFITTING AN “ABOUT ME” PAGE
You can contact him where he works, at The Magic Semantic Company (phone 641-545-0234 and ask for Mike) or email firstname.lastname@example.org.
Or, visit Mike on the job at:
42 Jordan Gordon Street, 6th Floor
San Francisco, CA 94105
1 I f HTML were a movie, HTML5 would be its surprise twist. HTML wasn’t meant to survive into the 21st century. The official web standards organization, the W3C (short for World Wide Web Consortium), left HTML for dead way back in 1998. The W3C pinned its future plans on a specification called XHTML, which it intended to be HTML’s cleaned-up, modernized successor. But XHTML stumbled, and a group of disenfranchised rebels resuscitated HTML, laying the groundwork for the features that you’ll