Mobile HTML5

Mobile HTML5

Estelle Weyl

Language: English

Pages: 480

ISBN: 1449311415

Format: PDF / Kindle (mobi) / ePub


Build kickass websites and applications for all mobile (and non-mobile) platforms by adding HTML5 and CSS3 to your web development toolkit. With this hands-on book, you’ll learn how to develop web apps that not only work on iOS, Android, Blackberry, and Windows Phone, but also perform well and provide good user experience.

With lots of code and markup examples, you’ll learn best practices for using HTML5 features, including new web forms, SVG, Canvas, localStorage, and related APIs. You’ll also get an in-depth look at CSS3, and discover how to design apps for large monitors and tiny screens alike.

  • Learn HTML5’s elements, syntax, and semantics
  • Build forms that provide enhanced usability with less JavaScript
  • Explore HTML5 media APIs for graphics, video, and audio
  • Enable your applications to work offline, using AppCache, localStorage, and other APIs
  • Learn what you need to know about CSS3 selectors and syntax
  • Dive into CSS3 features such as multiple backgrounds, gradients, border-images, transitions, transforms, and animations
  • Make your web applications usable, responsive, and accessible.
  • Design for performance, user experience, and reliability on all platforms

Web Design Blueprints

A Practical Guide to Managing Web Projects

HTML5: The Missing Manual (2nd Edition)

Mobile First

HTML5 in Action

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3: Elements That Are New in HTML5 portance, and for which the typographic convention dictates underlining, such as mis‐ spelled words or Chinese proper names. The element should be used to represent the “fine print” part of a document. While text doesn’t need to be displayed in tiny print, it should be reserved for the fine print, such as legalese in a sweepstakes or side effects in a pharmaceutical ad (which, if you think about it, should really be in a huge font). While I

provided via the pattern attribute, the form will not submit and the browser will put focus on the first invalid input type, providing a validation error message, as shown in Figure 4-1, in browsers that already support native validation. Figure 4-1. Native validation displays an error message when a pattern mismatch oc‐ curs (BlackBerry 10) 90 | Chapter 4: HTML5 Web Forms CSS Tip: Use the :invalid pseudoclass to target elements for styling that have content that does not match the pattern

between readonly and disabled? Neither can be modified, but the readonly attribute can be tabbed to and is submitted along with the form. The disabled form control cannot receive focus, nor is it submitted with the form. The maxlength Attribute The maxlength attribute applies to text, password, url, search, telephone, and email input types, and