HTML5 in Action

HTML5 in Action

Rob Crowther, Ash Blue, Greg Wanish

Language: English

Pages: 466

ISBN: 1617290491

Format: PDF / Kindle (mobi) / ePub


Summary

HTML5 in Action provides a complete introduction to web development using HTML5. You'll explore every aspect of the HTML5 specification through real-world examples and code samples. It's much more than just a specification reference, though. It lives up to the name HTML5 in Action by giving you the practical, hands-on guidance you'll need to use key features.

About the Technology

HTML5 is not a few new tags and features added to an old standard—it's the foundation of the modern web, enabling its interactive services, single-page UI, interactive games, and complex business applications. With support for standards-driven mobile app development, powerful features like local storage and WebSockets, superb audio and video APIs, and new layout options using CSS3, SVG, and Canvas, HTML5 has entered its prime time.

About the Book

HTML5 in Action provides a complete introduction to web development using HTML5. It explores the HTML5 specification through real-world examples and code samples. It earns the name "in Action" by giving you the practical, hands-on guidance you'll need to confidently build the sites and applications you—and your clients—have been wanting for years.

This book concentrates on new HTML5 features and assumes you are familiar with standard HTML.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

What's Inside

  • New semantic elements and form input types
  • Single-page application design
  • Creating interactive graphics
  • Mobile web apps

About the Authors

Rob Crowther is a web developer and blogger and the author of Manning's Hello! HTML5 & CSS3. Joe Lennon is an enterprise mobile application developer. Ash Blue builds award-winning interactive projects. Greg Wanish is an independent web and eCommerce developer.

Table of Contents

    PART 1 INTRODUCTION
  1. HTML5: from documents to applications
  2. PART 2 BROWSER-BASED APPS
  3. Form creation: input widgets, data binding, and data validation
  4. File editing and management: rich formatting, file storage, drag and drop
  5. Messaging: communicating to and from scripts in HTML5
  6. Mobile applications: client storage and offline execution
  7. PART 3 INTERACTIVE GRAPHICS, MEDIA, AND GAMING
  8. 2D Canvas: low-level, 2D graphics rendering
  9. SVG: responsive in-browser graphics
  10. Video and audio: playing media in the browser
  11. WebGL: 3D application development
  • Plus 10 Appendixes

CSS Text

Responsive Web Design

Web Workers: Multithreaded Programs in JavaScript

Professional WordPress

Programming Firefox: Building Rich Internet Applications with XUL

HTML5 and CSS3 All-in-One For Dummies (3rd Edition)

 

 

 

 

 

 

 

 

 

 

 

 

tunnel other protocols through HTTP. With WebSockets it’s possible to package your data using the appropriate protocol, the eXtensible Messaging and Presence Protocol (XMPP) for chat, for example, but benefit from the strengths of HTTP, which, like MasterCard, is accepted nearly everywhere. D.6.1. WebSocket protocol vs. WebSocket API The specifications for WebSockets are split into two parts. The WebSocket protocol describes what browser vendors and servers have to implement behind the

1.2.2. CSS3 If you’ve been developing on the web for a long time, you may remember when styling HTML documents was facilitated by the use of elements like and the clever use of

elements. Thankfully, the introduction of Cascading Style Sheets has meant that such approaches are no longer necessary. As the web has evolved, developers have come up with innovative ways to present content, using effects like drop shadows, rounded corners, and gradients to improve their application’s

the application’s directory. Tip Modernizr offers two choices when you download the library—development or production builds. The development build contains the entire Modernizr test suite and isn’t compressed or minified. If you’re in a hurry and don’t mind the large file size, use the development build. On the other hand, the production build allows you to configure which tests you want to include and will be compressed and minified to ensure a minimal file size. If you choose to use the

Introducing HTML5’s new form features 1.1.6. Progress bars, meters, and collapsible content 1.2. Beyond the markup: additional web standards 1.2.1. Microdata 1.2.2. CSS3 1.2.3. JavaScript and the DOM 1.3. The HTML5 DOM APIs 1.3.1. Canvas 1.3.2. Audio and video 1.3.3. Drag and drop 1.3.4. Cross-document messaging, server-sent events, and WebSockets 1.3.5. Document editing 1.3.6. Web storage 1.3.7. Offline web applications 1.4. Additional APIs and

shapes are 2D but drawn in a 3D environment. Step 3: Create the 2D player entity Append the next listing after your Hud object to create all of the data required to initialize your player. Most of the initializing information will be stored in variables at the top, so you can easily tweak the player’s data in the future. Listing 9.20. run.js—Player creation 3d drawing basics The most confusing part of creating players is probably the shape() and color() methods. The

Download sample

Download

February 2017
M T W T F S S
« Jan    
 12345
6789101112
13141516171819
20212223242526
2728