Introducción HTML 5 [PDF]

HTML 5 (HyperText Markup Language, versión 5) es la quinta revisión importante del lenguaje básico de la World Wide Web, HTML. HTML 5 especifica dos variantes de sintaxis para HTML: un «clásico» HTML (text/html), la variante conocida como HTML5 y una variante XHTML conocida como sintaxis XHTML5 que deberá ser servida como XML (XHTML) (application/xhtml+xml).Esta es la primera vez que HTML y XHTML se han desarrollado en paralelo.
El desarrollo de este código es regulado por el Consorcio W3C.
Nuevos elementos
HTML 5 establece una serie de nuevos elementos y atributos que reflejan el uso típico de los sitios web modernos. Algunos de ellos son técnicamente similares a las etiquetas <div> y <span>, pero tienen un significado semántico, como por ejemplo <nav> (bloque de navegación del sitio web) y <footer>. Otros elementos proporcionan nuevas funcionalidades a través de una interfaz estandarizada, como los elementos <audio> y <video>.
Mejoras en el elemento <canvas>
Algunos elementos de HTML 4.01 han quedado obsoletos, incluyendo elementos puramente de presentación, como <font> y <center>, cuyos efectos son manejados por el CSS. También hay un renovado enfasis en la importancia del scripting DOM para el comportamiento de la web.
Más información: http://es.wikipedia.org/wiki/HTML_5
CHAPTER 1 Main structure 1
The <head> . . . . . . . . . . . . . . . . . . . . . . 2
Using new HTML5 structural elements . . . . . . . . . 6
Styling HTML5 with CSS . . . . . . . . . . . . . . . . 10
When to use the new HTML5 structural
elements . . . . . . . . . . . . . . . . . . . . . . 13
Summary . . . . . . . . . . . . . . . . . . . . . . 21
CHAPTER 2 Text 23
Structuring main content areas . . . . . . . . . . . 24
Adding blogposts and comments . . . . . . . . . . 29
Working with HTML5 outlines . . . . . . . . . . . . . 30
Understanding WAI-ARIA . . . . . . . . . . . . . . 48
Even more new structures! . . . . . . . . . . . . . . 51
Redefi ned elements . . . . . . . . . . . . . . . . . 56
Global attributes. . . . . . . . . . . . . . . . . . . 61
Features not covered in this book . . . . . . . . . . 64
Summary . . . . . . . . . . . . . . . . . . . . . . 66
CHAPTER 3 Forms 67
We HTML, and now it s us back . . . . . . . . . 68
New input types . . . . . . . . . . . . . . . . . . . 68
vi CONTENTS
New attributes . . . . . . . . . . . . . . . . . . . . 74
Putting all this together . . . . . . . . . . . . . . . 79
Backwards compatibility with legacy browsers . . . 82
Styling new form fi elds and error messages . . . . . 83
Overriding browser defaults . . . . . . . . . . . . . 84
Using JavaScript for DIY validation . . . . . . . . . 85
Avoiding validation . . . . . . . . . . . . . . . . . 86
Summary . . . . . . . . . . . . . . . . . . . . . . 89
CHAPTER 4 Video and Audio 91
Native multimedia: why, what, and how? . . . . . . 92
Codecs:the horror, the horror . . . . . . . . . . . 98
Rolling custom controls . . . . . . . . . . . . . . .102
Multimedia accessibility . . . . . . . . . . . . . . .110
Summary . . . . . . . . . . . . . . . . . . . . . .113
CHAPTER 5 Canvas 115
Canvas basics . . . . . . . . . . . . . . . . . . . .118
Drawing paths . . . . . . . . . . . . . . . . . . . .122
Using transformers: pixels in disguise . . . . . . . . .124
Capturing images . . . . . . . . . . . . . . . . . .126
Pushing pixels . . . . . . . . . . . . . . . . . . . .130
Animating your canvas paintings . . . . . . . . . .134
Summary . . . . . . . . . . . . . . . . . . . . . .140
CHAPTER 6 Data Storage 141
Storage options . . . . . . . . . . . . . . . . . . .142
Web Storage. . . . . . . . . . . . . . . . . . . . .143
CONTENTS vii
Web SQL Databases . . . . . . . . . . . . . . . . .152
Summary . . . . . . . . . . . . . . . . . . . . . .162
CHAPTER 7 Offl ine 163
Pulling the plug: going offl ine . . . . . . . . . . . .164
The cache manifest . . . . . . . . . . . . . . . . .164
How to serve the manifest . . . . . . . . . . . . . .168
The browser-server process . . . . . . . . . . . . .168
applicationCache . . . . . . . . . . . . . . . . . .171
Using the manifest to detect connectivity . . . . . .172
Killing the cache. . . . . . . . . . . . . . . . . . .174
Summary . . . . . . . . . . . . . . . . . . . . . .174
CHAPTER 8 Drag and Drop 175
Getting into drag . . . . . . . . . . . . . . . . . .176
Interoperability of dragged data . . . . . . . . . .180
How to drag any element . . . . . . . . . . . . . .182
Adding custom drag icons . . . . . . . . . . . . .183
Accessibility . . . . . . . . . . . . . . . . . . . . .184
Summary . . . . . . . . . . . . . . . . . . . . . .186
CHAPTER 9 Geolocation 187
Sticking a pin in your visitor . . . . . . . . . . . . .188
API methods . . . . . . . . . . . . . . . . . . . . .190
How it works under the hood: it’s magic. . . . . . .195
Summary . . . . . . . . . . . . . . . . . . . . . .196
Descargar:
http://hotfile.com/dl/79903407/ecdc059/HTML5.rar.html

Te comento: He bajado de tu website, impreso y comenzado a leer el book "Pro html5 programming" de Lubbers et al, pero aclaran que no es para principiantes. Ojalá puedas revivir el link de esta obra introductoria. THANK YOU, BRO!!!