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
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
CubeeDoo: HTML5 Mobile Game
Chapter 2 Upgrading to HTML5
HTML Element/Attribute Syntax
Chapter 3 Elements That Are New in HTML5
Sectioning Elements in HTML5
Text-Level Semantic Elements New to HTML5
Changed Text-Level Semantic Elements
Chapter 4 HTML5 Web Forms
Attributes of <input> (and Other Form Elements)
<input> Types and Attributes
New Values for <input> Type
Date and Time Input Types
New Form Elements
Other Form Elements
Chapter 5 SVG, Canvas, Audio, and Video
HTML5 Media APIs
Chapter 6 Other HTML5 APIs
Offline Web Applications
Enhanced User Experience
Accessible Rich Internet Applications (ARIA)
Chapter 7 Upgrading to CSS3
CSS: A Definition and Syntax
More CSS3 Selectors
Other Selectors: Shadow DOM
Chapter 8 Expanding Options with CSS3 Values
CSS Color Values
CSS Units of Measurement
Avoiding TRouBLe: Shorthand Properties and Value Declarations
Chapter 9 CSS3: Modules, Models, and Images
CSS Box Model Properties
Chapter 10 CSS3: Transforms, Transitions, and Animations
The animal on the cover of Mobile HTML5 is a Racket-tailed Drongo (Dicrurus paradiseus). This distinctive bird is notable for its elongated outer tail feathers, making it easily recognizable in its Asian habitats. As talented vocalists, Racket-tailed Drongos possess a wide range of calls and can mimic other birds’ songs as well.
In heavily forested areas, such as those where the Drongo normally lives, large mixed-species flocks form as hundreds of birds forage for insects together. It is believed that the Drongo’s ability to imitate calls has to do with this feeding situation—the Drongo learns the alarm calls of other types of birds and repeats them. This behavior has been likened to a person learning short, useful phrases and exclamations in a variety of languages. Although African Grey Parrots can use human speech in the correct context, they have never exhibited this kind of situation-reliant behavior in the wild. In contrast, the Drongo will use its language skills to its advantage, often by imitating the call of a raptor to create a panic among the feeding group, allowing the Drongo to steal food unnoticed.
While Drongos can be quite aggressive when it comes to territory, they have a very playful and extended courtship display. Two prospective mates will sing to each other, hop and turn about on branches, and drop objects from high and then dive down to pluck them from mid-air. Once a pair has mated, they build a small cup-shaped nest in which to lay the clutch of three to four eggs.
The range of the Racket-tailed Drongo extends throughout the forests of the Himalayas, the Mishmi Hills, and the islands of Borneo and Java. As such, the scholar Edward H. Schafer considered the Drongo the basis for the divine kalavinka birds mentioned in Chinese and Japanese Buddhist texts. These immortal beings were said to have a human’s head and bird’s torso, with a long double tail and a beautiful voice. The name has been alternately been translated as “exquisite-sounding bird” and “goodly sounding bird,” making the parallels all the more striking between it and the vocally gifted Drongo.
The cover image is from a loose plate, source unknown.