HTML and CSS Reference
Figure 3-1. The native Financial Times android app (left) and the iOS web app (right)
In this chapter, you will learn the key fundamentals of HTML5 and how to
leverage it for the mobile web.
You will also learn how to encode video and audio content for mobile and the
types of services that are available to facilitate the delivery of that content to
The chapter will go into more depth on how to use media queries to style your
content based on screen attributes.
Finally, you will learn about the new form elements and how to hint at certain
types of input data to affect the keyboard in the browser.
HTML5 has made a significant leap from HTML4/XHTML1.1. It provides new
HTML tags such as header , footer , hgroup , nav , section , and article in a step
to improve the way we mark up documents. This has allowed us to produce
more meaningful and machine-readable content. For example, we can now use
< . Along with this, HTML5 also brings the standardization of access to APIs,
such as geolocation, canvas, web sockets, and web storage.