Create bookmark
HTML5 Cookbook
Notes
Please login to add notes
- Table of Contents
-
+
Preface
-
+
Chapter 1. Fundamental Syntax and Semantics
- 1.0 Introduction
- + 1.1 Specifying the DOCTYPE
- + 1.2 Specifying the Character Set
- + 1.3 Specifying the Language
- + 1.4 Optimizing <script>s and <link>s
- + 1.5 Adding Document Structure with HTML5’s New Elements
- + 1.6 Choosing Between <article> and <section>
- + 1.7 Checking Your Document Outline
- + 1.8 Modifying the Document Outline
- + 1.9 Emphasizing Text
- + 1.10 Adding Importance to Text
- + 1.11 Highlighting Text for Reference
- + 1.12 Marking Up Small Print
- + 1.13 Defining Acronyms and Abbreviations
- + 1.14 Adding Links to Block-Level Content
- + 1.15 Marking Up Figures and Captions
- + 1.16 Marking Up Dates and Times
- + 1.17 Setting the Stage for Native Expanding and Collapsing
- + 1.18 Controlling the Numbering of Your Lists
- + 1.19 Hiding Content to Show Later
- + 1.20 Making Portions of a Page Editable
- + 1.21 Setting the Stage for Native Drag-and-Drop
-
+
Chapter 2. Progressive Markup and Techniques
- 2.0 Introduction
- + 2.1 Adding More Semantic Meaning
- + 2.2 Picking a Markup Style
- + 2.3 Understanding Browser Support for HTML5
- + 2.4 Making Internet Explorer Recognize HTML5 Elements
- + 2.5 Detecting HTML5 Features with JavaScript
- + 2.6 Using HTML5 Boilerplate
- + 2.7 Validating HTML5
- + 2.8 Mapping HTML5 Elements to ID and Class Names
-
+
Chapter 3. Forms
- 3.0 Introduction
- + 3.1 Displaying a Search Input Field
- + 3.2 Contact Information Input Fields
- + 3.3 Utilizing Date and Time Input Fields
- + 3.4 Number Inputs
- + 3.5 Selecting from a Range of Numbers
- + 3.6 Selecting Colors
- + 3.7 Creating an Editable Drop-Down
- + 3.8 Requiring a Form Field
- + 3.9 Autofocusing a Form Field
- + 3.10 Displaying Placeholder Text
- + 3.11 Disabling Autocomplete
- + 3.12 Restricting Values
- + 3.13 Making HTML5 Work in Older Browsers
- + 3.14 Validating Form Data in Older Browsers with JavaScript
- + 3.15 Example: Sample Form
-
+
Chapter 4. Native Audio
- + Chapter 5. Native Video
- + Chapter 6. Microdata and Custom Data
-
+
Chapter 7. Accessibility
- + 7.0 Introduction
- + 7.1 Writing Appropriate alt Text Descriptions
- + 7.2 Identifying Abbreviations and Acronyms
- + 7.3 Identifying Sections of a Page Using ARIA Landmark Roles
- + 7.4 Creating More Accessible Navigation Links
- + 7.5 Associating Form Fields with Their Labels
- + 7.6 Grouping Form Fields Logically
- + 7.7 Enabling a fieldset Dynamically
- + 7.8 Identifying Required Form Fields
- + 7.9 Using ARIA Live Regions to Announce When Dynamic Content Is Updating
-
+
Chapter 8. Geolocation
- 8.0 Introduction
- + 8.1 Getting Basic Geolocation Data
- + 8.2 Getting Basic Geolocation Data with a Fallback
- + 8.3 Reverse Geocoding an Address with Latitude and Longitude
- + 8.4 Converting an Address into Latitude and Longitude
- + 8.5 Getting Directions from the Current Location
- + 8.6 Example: Starbucks to Starbucks
-
+
Chapter 9. <canvas>
- 9.0 Introduction
- + 9.1 Drawing on a <canvas>
- + 9.2 Using Transparency
- + 9.3 Setting <canvas> Dimensions
- + 9.4 Using Gradients, Patterns, and Line Styles
- + 9.5 Pulling External Images into a <canvas> Drawing
- + 9.6 Setting Color Transformations
- + 9.7 Working with Geometric Transformations
- + 9.8 Placing Text on a <canvas>
- + 9.9 Clipping <canvas> Drawings
- + 9.10 Animating <canvas> Drawings
- + 9.11 Drawing Graphs with <canvas>
- + 9.12 Saving a <canvas> Drawing to a File
-
+
Chapter 10. Advanced HTML5 JavaScript
- Appendix. HTML5 Resources
- Index
With scores of practical recipes you can use in your projects right away, this cookbook helps you gain hands-on experience with HTML5's versatile collection of elements. You get clear solutions for handling issues with everything from markup semantics, web forms, and audio and video elements to related technologies such as geolocation and rich JavaScript APIs.
Each informative recipe includes sample code and a detailed discussion on why and how the solution works. Perfect for intermediate to advanced web and mobile web developers, this handy book lets you choose the HTML5 features that work for you--and helps you experiment with the rest.
Test browsers for HTML5 support, and use techniques for applying unsupported features
Discover how HTML5 makes web form implementation much simpler
Overcome challenges for implementing native audio and video elements
Learn techniques for using HTML5 with ARIA accessibility guidelines
Explore examples that cover using geolocation data in your applications
Draw images, use transparencies, add gradients and patterns, and more with Canvas
Bring HTML5 features to life with a variety of advanced JavaScript APIs
Test the closed alpha on paperc.com
Book Details
Authors
Christopher Schmitt and Kyle Simpson
Categories
Computers > Programming Languages > HTML
Publishers
Publication year : 2011
License: All rights reserved ©
Times read: 1,357

