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
Preface | p. xi |
About the Authors | p. xiii |
Chapter 1 Overview of the New Web Standard | p. 1 |
1.1 How It All Started | p. 1 |
1.2 Time Travel through Historic Events | p. 7 |
1.3 In Medias Res | p. 9 |
1.4 Can I Start Using HTML5 Now? | p. 16 |
Summary | p. 18 |
Chapter 2 Structure and Semantics for Documents | p. 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 Algorithm | p. 27 |
2.6 Figures with "figure" and "figcaption" | p. 28 |
2.7 Text-Level Semantics-More New Tags | p. 29 |
Summary | p. 35 |
Chapter 3 Intelligent Forms | p. 37 |
3.1 New Input Types | p. 38 |
3.2 Useful Attributes for Forms | p. 43 |
3.3 New Elements | p. 47 |
3.4 Client-Side Form Validation | p. 57 |
3.5 Example: A Support Form | p. 64 |
Summary | p. 68 |
Chapter 4 Video and Audio | p. 69 |
4.1 A First Example | p. 70 |
4.2 The "video" Element and Its Attributes | p. 71 |
4.3 Video Codecs | p. 73 |
4.4 Tools for Video Conversion | p. 76 |
4.5 Which Format for Which Browser? | p. 82 |
4.6 Interim Solutions for Older Browsers | p. 83 |
4.7 Video and Scripting-A Simple Video Player | p. 86 |
4.8 And What About Audio? | p. 99 |
Summary | p. 105 |
Chapter 5 Canvas | p. 107 |
5.1 A First Example | p. 108 |
5.2 Rectangles | p. 111 |
5.3 Colors and Shadows | p. 113 |
5.4 Gradients | p. 114 |
5.5 Paths | p. 117 |
5.6 Text | p. 130 |
5.7 Embedding Images | p. 135 |
5.8 Pixel Manipulation | p. 141 |
5.9 Compositing | p. 149 |
5.10 Patterns | p. 152 |
5.11 Transformations | p. 156 |
5.12 Base64 Encoding with "canvas.toDataURL()"163 | |
5.13 "save()" and "restore()"165 | |
5.14 Animations | p. 166 |
5.15 Anything Still Missing? | p. 173 |
Summary | p. 177 |
Chapter 6 SVG and MathML | p. 179 |
6.1 MathML | p. 180 |
6.2 SVG | p. 182 |
Summary | p. 183 |
Chapter 7 Geolocation | p. 185 |
7.1 Introduction to Geolocation | p. 186 |
7.2 A First Experiment: Geolocation in the Browser | p. 190 |
7.3 Technical Background of Determining Position | p. 193 |
7.4 Display of Current Position on OpenStreetMap | p. 194 |
7.5 Location Tracking with Google Maps | p. 196 |
7.6 Example: Geonotes | p. 197 |
7.7 Browser Support | p. 202 |
Summary | p. 203 |
Chapter 8 Web Storage and Offline Web Applications | p. 205 |
8.1 Storage | p. 206 |
8.2 Offline Web Applications | p. 212 |
8.3 Browser Support | p. 220 |
8.4 Example: Click to tick! | p. 220 |
Summary | p. 230 |
Chapter 9 WebSockets | p. 231 |
9.1 The WebSocket Server | p. 233 |
9.2 Example: A Broadcast Server | p. 234 |
9.3 Example: Battleships | p. 239 |
Summary | p. 248 |
Chapter 10 Web Workers | p. 249 |
10.1 Introduction to Web Workers | p. 249 |
10.2 Search for Leap Years | p. 251 |
10.3 Calculate Altitude Profiles with Canvas | p. 253 |
Summary | p. 259 |
Chapter 11 Microdata | p. 261 |
11.1 The Syntax of Microdata | p. 263 |
11.2 The Microdata DOM API | p. 269 |
Summary | p. 271 |
Chapter 12 Finishing Touches: Some Global Attributes | p. 273 |
12.1 News for the "class" Attribute | p. 274 |
12.2 Defining Custom Attributes with "data-*" | p. 275 |
12.3 The "hidden" Attribute | p. 276 |
12.4 The "classList" Interface | p. 276 |
12.5 Drag and Drop with the "draggable" Attribute | p. 278 |
12.5.1 Drag and Drop in Combination with the "FileAPI" | p. 284 |
12.6 The Attributes "contenteditable" and "spellcheck" | p. 288 |
Summary | p. 290 |
Afterword | p. 293 |
Index | p. 295 |