Chapter 4. Building Fast and Responsive Websites

In this chapter, we will cover:

  • Building pages using basic HTML5 markup

  • Using CSS3 features for progressive enhancement

  • Applying responsive design with media query

  • Using dynamic loading

  • Applying user agent detection

  • Adding mobile bookmark bubble to the home page

  • Building Contact page with textarea and autogrow forms

  • Making buttons with instant response

  • Hiding WebKit chrome

  • Building a mobile sitemap


On mobile devices, bandwidth is not always as good as on a desktop computer. If you are on a slow 3G network, things can get loaded much slower than on a Wi-Fi hotspot. Even for Wi-Fi connections, many mobile browsers process slower than desktop computers. So when we create mobile sites, they have to ...

Get HTML5 Mobile Development Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.