Introducing HTML5

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Author(s): Bruce Lawson; Remy Sharp
Series: Voices that matter
Publisher: New Riders
Year: 2011

Language: English
Pages: 240
City: Berkeley, CA

Contents......Page 6
Introduction......Page 10
CHAPTER 1 Main structure......Page 18
The ......Page 19
Using new HTML5 structural elements......Page 23
Styling HTML5 with CSS......Page 27
When to use the new HTML5 structural elements......Page 30
Summary......Page 38
CHAPTER 2 Text......Page 40
Structuring main content areas......Page 41
Adding blogposts and comments......Page 46
Working with HTML5 outlines......Page 47
Understanding WAI-ARIA......Page 65
Even more new structures!......Page 68
Redefined elements......Page 73
Global attributes......Page 78
Features not covered in this book......Page 81
Summary......Page 83
CHAPTER 3 Forms......Page 84
New input types......Page 85
New attributes......Page 91
Putting all this together......Page 96
Backwards compatibility with legacy browsers......Page 99
Styling new form fields and error messages......Page 100
Overriding browser defaults......Page 101
Using JavaScript for DIY validation......Page 102
Avoiding validation......Page 103
Summary......Page 106
CHAPTER 4 Video and Audio......Page 108
Native multimedia: why, what, and how?......Page 109
Codecs—the horror, the horror......Page 115
Rolling custom controls......Page 119
Multimedia accessibility......Page 127
Summary......Page 130
CHAPTER 5 Canvas......Page 132
Web SQL Databases......Page 0
Drawing paths......Page 139
Using transformers: pixels in disguise......Page 141
Capturing images......Page 143
Pushing pixels......Page 147
Animating your canvas paintings......Page 151
Summary......Page 157
CHAPTER 6 Data Storage......Page 158
Web Storage......Page 160
Summary......Page 179
CHAPTER 7 Offline......Page 180
The cache manifest......Page 181
The browser-server process......Page 185
applicationCache......Page 188
Using the manifest to detect connectivity......Page 189
Summary......Page 191
CHAPTER 8 Drag and Drop......Page 192
Getting into drag......Page 193
Interoperability of dragged data......Page 197
How to drag any element......Page 199
Adding custom drag icons......Page 200
Accessibility......Page 201
Summary......Page 203
CHAPTER 9 Geolocation......Page 204
Sticking a pin in your visitor......Page 205
API methods......Page 207
How it works under the hood: it’s magic......Page 212
Summary......Page 213
CHAPTER 10 Messages, Workers, and Sockets......Page 214
Chit chat with the Messaging API......Page 215
Threading using Web Workers......Page 217
Web Sockets: working with streaming data......Page 229
And finally.........Page 233
C......Page 234
F......Page 235
H......Page 236
M......Page 237
P-Q......Page 238
T......Page 239
X-Z......Page 240