Cover image for HTML5 guidelines for Web developers
Title:
HTML5 guidelines for Web developers
Uniform Title:
HTML 5. English
Personal Author:
Publication Information:
Upper Saddle River, NJ : Addison-Wesley, 2011
Physical Description:
xiii, 304 p. : ill. ; 24 cm.
ISBN:
9780321772749
General Note:
Includes index
Added Author:

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010280991 QA76.625 F67 2011 Open Access Book Book
Searching...

On Order

Summary

Summary

In HTML5 Guidelines for Web Developers, two pioneering web developers provide a comprehensive guide to HTML5's powerful new elements and techniques through compact, practical, easy-to-understand examples. You'll discover just how much you can do with HTML5--from programming audio/video playback to integrating geographical data into pages and applications.

 

This concise, friendly reference is packed with tips, tricks, and samples for making the most of HTML5 with JavaScript and the DOM. The authors present "pure HTML5" examples that are supported by browsers right now, and they share realistic insights into the challenges of leading-edge HTML5 development. All examples are available for download, with links to web resources for new information and specification updates. Topics covered include 

Browser support: What you can (and can't) do with HTML5 today HTML5 document structure and semantics Intelligent forms, including new input types, elements, and client-side validation The "video" and "audio" elements, and scripting media solutions Advanced graphics with Canvas and SVG Geolocation in the browser, including location tracking  via Google Maps Web storage, offline web applications, WebSockets,and Web Workers Embedding sematic markup with Microdata and the Microdata DOM API Implementing drag-and-drop with the "draggable" attribute New global attributes: "data-*," "hidden," "contenteditable," "spellcheck," and more If you're a web developer or designer with at least basic knowledge of HTML, JavaScript, and CSS, this book is all you need to masterHTML5--and get to the cutting edge of web development.


Author Notes

Klaus Förster , an open source enthusiast, works at the Department of Geography of the University of Innsbruck, Austria. He has attended numerous SVG Open conferences as speaker, reviewer, and workshop leader, and contributed SVG modules to the free software projects PostGIS, GRASS GIS, and SpatiaLite.

Bernd oggl , lecturer and system administrator at the University of Innsbruck, is the coauthor of a book on PHP and MySQL and has many years of experience programming web applications.


Table of Contents

Prefacep. xi
About the Authorsp. xiii
Chapter 1 Overview of the New Web Standardp. 1
1.1 How It All Startedp. 1
1.2 Time Travel through Historic Eventsp. 7
1.3 In Medias Resp. 9
1.4 Can I Start Using HTML5 Now?p. 16
Summaryp. 18
Chapter 2 Structure and Semantics for Documentsp. 19
2.1 Header with "header" and "hgroup"p. 21
2.2 Content with "article"p. 22
2.3 Footer with "footer" and "nav"p. 24
2.4 Sidebar with "aside" and "section"p. 25
2.5 The Outline Algorithmp. 27
2.6 Figures with "figure" and "figcaption"p. 28
2.7 Text-Level Semantics-More New Tagsp. 29
Summaryp. 35
Chapter 3 Intelligent Formsp. 37
3.1 New Input Typesp. 38
3.2 Useful Attributes for Formsp. 43
3.3 New Elementsp. 47
3.4 Client-Side Form Validationp. 57
3.5 Example: A Support Formp. 64
Summaryp. 68
Chapter 4 Video and Audiop. 69
4.1 A First Examplep. 70
4.2 The "video" Element and Its Attributesp. 71
4.3 Video Codecsp. 73
4.4 Tools for Video Conversionp. 76
4.5 Which Format for Which Browser?p. 82
4.6 Interim Solutions for Older Browsersp. 83
4.7 Video and Scripting-A Simple Video Playerp. 86
4.8 And What About Audio?p. 99
Summaryp. 105
Chapter 5 Canvasp. 107
5.1 A First Examplep. 108
5.2 Rectanglesp. 111
5.3 Colors and Shadowsp. 113
5.4 Gradientsp. 114
5.5 Pathsp. 117
5.6 Textp. 130
5.7 Embedding Imagesp. 135
5.8 Pixel Manipulationp. 141
5.9 Compositingp. 149
5.10 Patternsp. 152
5.11 Transformationsp. 156
5.12 Base64 Encoding with "canvas.toDataURL()"163
5.13 "save()" and "restore()"165
5.14 Animationsp. 166
5.15 Anything Still Missing?p. 173
Summaryp. 177
Chapter 6 SVG and MathMLp. 179
6.1 MathMLp. 180
6.2 SVGp. 182
Summaryp. 183
Chapter 7 Geolocationp. 185
7.1 Introduction to Geolocationp. 186
7.2 A First Experiment: Geolocation in the Browserp. 190
7.3 Technical Background of Determining Positionp. 193
7.4 Display of Current Position on OpenStreetMapp. 194
7.5 Location Tracking with Google Mapsp. 196
7.6 Example: Geonotesp. 197
7.7 Browser Supportp. 202
Summaryp. 203
Chapter 8 Web Storage and Offline Web Applicationsp. 205
8.1 Storagep. 206
8.2 Offline Web Applicationsp. 212
8.3 Browser Supportp. 220
8.4 Example: Click to tick!p. 220
Summaryp. 230
Chapter 9 WebSocketsp. 231
9.1 The WebSocket Serverp. 233
9.2 Example: A Broadcast Serverp. 234
9.3 Example: Battleshipsp. 239
Summaryp. 248
Chapter 10 Web Workersp. 249
10.1 Introduction to Web Workersp. 249
10.2 Search for Leap Yearsp. 251
10.3 Calculate Altitude Profiles with Canvasp. 253
Summaryp. 259
Chapter 11 Microdatap. 261
11.1 The Syntax of Microdatap. 263
11.2 The Microdata DOM APIp. 269
Summaryp. 271
Chapter 12 Finishing Touches: Some Global Attributesp. 273
12.1 News for the "class" Attributep. 274
12.2 Defining Custom Attributes with "data-*"p. 275
12.3 The "hidden" Attributep. 276
12.4 The "classList" Interfacep. 276
12.5 Drag and Drop with the "draggable" Attributep. 278
12.5.1 Drag and Drop in Combination with the "FileAPI"p. 284
12.6 The Attributes "contenteditable" and "spellcheck"p. 288
Summaryp. 290
Afterwordp. 293
Indexp. 295