Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
HTML5: Up and Running
Preface
Diving In
Conventions Used in This Book
Using Code Examples
A Note on the Editions of This Book
Safari® Books Online
How to Contact Us
1. How Did We Get Here?
Diving In
MIME Types
A Long Digression into How Standards Are Made
An Unbroken Line
A Timeline of HTML Development from 1997 to 2004
Everything You Know About XHTML Is Wrong
A Competing Vision
What Working Group?
Back to the W3C
Postscript
Further Reading
2. Detecting HTML5 Features
Diving In
Detection Techniques
Modernizr: An HTML5 Detection Library
Canvas
Canvas Text
Video
Video Formats
Local Storage
Web Workers
Offline Web Applications
Geolocation
Input Types
Placeholder Text
Form Autofocus
Microdata
Further Reading
3. What Does It All Mean?
Diving In
The Doctype
The Root Element
The <head> Element
Character Encoding
Friends and (Link) Relations
rel = stylesheet
rel = alternate
Other link relations in HTML5
New Semantic Elements in HTML5
A Long Digression into How Browsers Handle Unknown Elements
Headers
Articles
Dates and Times
Navigation
Footers
Further Reading
4. Let’s Call It a Draw(ing Surface)
Diving In
Simple Shapes
Canvas Coordinates
Paths
Text
Gradients
Images
What About IE?
A Complete Example
Further Reading
5. Video on the Web
Diving In
Video Containers
Video Codecs
H.264
Theora
VP8
Audio Codecs
MPEG-1 Audio Layer 3
Advanced Audio Coding
Vorbis
What Works on the Web
Licensing Issues with H.264 Video
Encoding Ogg Video with Firefogg
Batch Encoding Ogg Video with ffmpeg2theora
Encoding H.264 Video with HandBrake
Batch Encoding H.264 Video with HandBrake
Encoding WebM Video with ffmpeg
At Last, the Markup
MIME Types Rear Their Ugly Head
What About IE?
A Complete Example
Further Reading
6. You Are Here (And So Is Everybody Else)
Diving In
The Geolocation API
Show Me the Code
Handling Errors
Choices! I Demand Choices!
What About IE?
geo.js to the Rescue
A Complete Example
Further Reading
7. The Past, Present, and Future of Local Storage for Web Applications
Diving In
A Brief History of Local Storage Hacks Before HTML5
Introducing HTML5 Storage
Using HTML5 Storage
Tracking Changes to the HTML5 Storage Area
Limitations in Current Browsers
HTML5 Storage in Action
Beyond Named Key/Value Pairs: Competing Visions
Further Reading
8. Let’s Take This Offline
Diving In
The Cache Manifest
Network Sections
Fallback Sections
The Flow of Events
The Fine Art of Debugging, a.k.a. “Kill Me! Kill Me Now!”
Let’s Build One!
Further Reading
9. A Form of Madness
Diving In
Placeholder Text
Autofocus Fields
Email Addresses
Web Addresses
Numbers As Spinboxes
Numbers As Sliders
Date Pickers
Search Boxes
Color Pickers
And One More Thing...
Further Reading
10. “Distributed,” “Extensibility,” and Other Fancy Words
Diving In
What Is Microdata?
The Microdata Data Model
Marking Up People
Introducing Google Rich Snippets
Marking Up Organizations
Marking Up Events
The Return of Google Rich Snippets
Marking Up Reviews
Further Reading
A. The All-in-One Almost-Alphabetical Guide to Detecting Everything
List of Elements
<audio>
<audio> in MP3 format
<audio> in Vorbis format
<audio> in WAV format
<audio> in AAC format
<canvas>
<canvas> text API
<command>
<datalist>
<details>
<device>
<form> constraint validation
<iframe sandbox>
<iframe srcdoc>
<input autofocus>
<input placeholder>
<input type="color">
<input type="email">
<input type="number">
<input type="range">
<input type="search">
<input type="tel">
<input type="url">
<input type="date">
<input type="time">
<input type="datetime">
<input type="datetime-local">
<input type="month">
<input type="week">
<meter>
<output>
<progress>
<time>
<video>
<video> captions
<video poster>
<video> in WebM format
<video> in H.264 format
<video> in Theora format
contentEditable
Cross-document messaging
Drag and drop
File API
Geolocation
History
Local storage
Microdata
Offline web applications
Server-sent events
Session storage
SVG
SVG in text/html
WebSimpleDB
Web Sockets
Web SQL Database
Web Workers
Undo
Further Reading
Index
About the Author
Colophon
Copyright
← Prev
Back
Next →
← Prev
Back
Next →