HTML and CSS Reference
Figure 8-1. Projections for mobile Internet users and desktop users, 2013-2015 (source: Morgan Stanley Research)
As you can see, for anyone in the mobile space, this is an exciting trend with an opportunity for a long and
prosperous future. One thing is for certain: HTML5 will be very prominent in this market, as it's currently the only
ubiquitous technology that can span all the mobile platforms. No other technology can deploy to all the browsers and
devices natively—not Flash or Silverlight. You certainly can't build applications for major mobile operating systems
unless you know Objective-C or Java or use Adobe AIR for iOS or a similar packager. Not only does HTML5 allow
you to build amazing web apps; it even enables the creation of native mobile apps with the help of a framework like
PhoneGap ( http://phonegap.com ) built on Apache Cordova ( http://incubator.apache.org/cordova ) . Using the
same tools and syntax that work in the modern web browser, can now be used across devices, browsers, and various
operating systems to ensure compatibility when compiling to a native app. This is the main reason that HTML5 is
becoming so attractive on mobile devices. You build have the ability to build once and deploy everywhere-(well
everywhere its currently supported for now). Now that you know why HTML5 is so important, let's look at the various
devices on the market before digging into the code and practice of each.
Mobile Devices, Browsers, and OSs
Desktop browsers are fragmented in their HTML5 support, and mobile devices are no different. There are many
different device manufacturers, each with its own variation and adoption of the HTML5 specification in its browser.
There are so many different devices in the space currently that it's nearly impossible to keep track of what is supported
where and what the latest features of the device are that we have access to.
Not ■ For very good information around the fragmented mobile ecosystem, i strongly suggest checking out