,

HTML5 Cookbook

Solutions & Examples for HTML5 Developers

Paperback Engels 2012 1e druk 9781449396794
Verwachte levertijd ongeveer 16 werkdagen

Samenvatting

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

Specificaties

ISBN13:9781449396794
Taal:Engels
Bindwijze:paperback
Aantal pagina's:260
Uitgever:O'Reilly
Druk:1
Verschijningsdatum:10-1-2012
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Over Christopher Schmitt

Christopher Schmitt is the founder of Heat Vision, a small new media publishing and design firm, based in Cincinnati, OH. An award-winning web designer who has been working with the Web since 1993, Christopher interned for both David Siegel and Lynda Weinman in the mid 90's while he was an undergraduate at Florida State University working on a Fine Arts degree with an emphasis on Graphic Design. Afterwards, he earned a Masters in Communication for Interactive and New Communication Technologies while obtaining a graduate certificate in Project Management from FSU's College of Communication. He is the author of CSS Cookbook, which was named Best Web Design Book of 2006, and one of the first books that looked at CSS-enabled designs, Designing CSS Web Pages (New Riders). He is also the co-author of Adapting to Web Standards (New Riders), Professional CSS (Wrox), Photoshop in 10 Steps or Less (Wiley) and Dreamweaver Design Projects (glasshaus) and contributed four chapters to XML, HTML, and XHTML Magic (New Riders). Christopher has also written for New Architect Magazine, A List Apart, Digital Web and Web Reference. He is the list moderator for Babble, a mailing list community devoted to advanced web design and development topics. With the Web Standards Project, Christopher helps co-lead the Adobe Task Force while contributing to its Education Task Force. On his personal web site, Christopher shows his true colors and most recent activities. He is 6?7? and doesn?t play professional basketball but wouldn?t mind a good game of chess.

Andere boeken door Christopher Schmitt

Inhoudsopgave

Preface

1. Fundamental Syntax and Semantics
-Introduction
-Specifying the DOCTYPE
-Specifying the Character Set
-Specifying the Language
-Optimizing SCRIPTs and <link>s
-Adding Document Structure with HTML5's New Elements
-Choosing Between <article> and <section>
-Checking Your Document Outline
-Modifying the Document Outline
-Emphasizing Text
-Adding Importance to Text
-Highlighting Text for Reference
-Marking Up Small Print
-Defining Acronyms and Abbreviations
-Adding Links to Block-Level Content
-Marking Up Figures and Captions
-Marking Up Dates and Times
-Setting the Stage for Native Expanding and Collapsing
-Controlling the Numbering of Your Lists
-Hiding Content to Show Later
-Making Portions of a Page Editable
-Setting the Stage for Native Drag-and-Drop

2. Progressive Markup and Techniques
-Introduction
-Adding More Semantic Meaning
-Picking a Markup Style
-Understanding Browser Support for HTML5
-Making Internet Explorer Recognize HTML5 Elements
-Detecting HTML5 Features with JavaScript
-Using HTML5 Boilerplate
-Validating HTML5
-Mapping HTML5 Elements to ID and Class Names

3. Forms
-Introduction
-Displaying a Search Input Field
-Contact Information Input Fields
-Utilizing Date and Time Input Fields
-Number Inputs
-Selecting from a Range of Numbers
-Selecting Colors
-Creating an Editable Drop-Down
-Requiring a Form Field
-Autofocusing a Form Field
-Displaying Placeholder Text
-Disabling Autocomplete
-Restricting Values
-Making HTML5 Work in Older Browsers
-Validating Form Data in Older Browsers with JavaScript
-Example: Sample Form

4. Native Audio
-Introduction
-Adding HTML5 Audio
-Manipulating the Audio Stream
-Generating <audio> Using JavaScript
-Visualizing <audio> Using <canvas>
-Sample Design: Custom Audio Player

5. Native Video
-Introduction
-Adding HTML5 Video
-Ensuring Multi-Browser Video Support
-Setting Video Dimensions
-Displaying a Placeholder Image Before Video Plays
-Making Video Loop
-Sample Design: Manipulating Video with <canvas>

6. Microdata and Custom Data
-Introduction
-Adding Microdata to Markup
-Using Microdata and Schema.org
-Adding Custom Data to Markup
-Accessing Custom Data with JavaScript
-Manipulating Custom Data
-Example: Creating a Map Application Using Custom Data

7. Accessibility
-Introduction
-Writing Appropriate alt Text Descriptions
-Identifying Abbreviations and Acronyms
-Identifying Sections of a Page Using ARIA Landmark Roles
-Creating More Accessible Navigation Links
-Associating Form Fields with Their Labels
-Grouping Form Fields Logically
-Enabling a fieldset Dynamically
-Identifying Required Form Fields
-Using ARIA Live Regions to Announce When Dynamic Content Is Updating

8. Geolocation
-Introduction
-Getting Basic Geolocation Data
-Getting Basic Geolocation Data with a Fallback
-Reverse Geocoding an Address with Latitude and Longitude
-Converting an Address into Latitude and Longitude
-Getting Directions from the Current Location
-Example: Starbucks to Starbucks

9. <canvas>
-Introduction
-Drawing on a <canvas>
-Using Transparency
-Setting <canvas> Dimensions
-Using Gradients, Patterns, and Line Styles
-Pulling External Images into a <canvas> Drawing
-Setting Color Transformations
-Working with Geometric Transformations
-Placing Text on a <canvas>
-Clipping <canvas> Drawings
-Animating <canvas> Drawings
-Drawing Graphs with <canvas>
-Saving a <canvas> Drawing to a File

10. Advanced HTML5 JavaScript
-Introduction
-Local Storage
-Application Caching
-Drag and Drop
-Web Workers
-Web Sockets
-History
-Local Files

Appendix: HTML5 Resources

Index

Managementboek Top 100

Rubrieken

    Personen

      Trefwoorden

        HTML5 Cookbook