HTML5 Features for the Mobile Web

This will be an on going list of HTML5 features that can be used on the mobile web today!.

Meta Tags

Note: some of these are iPhone specific, but it wont break your page on Android or Windows devices.

// This disabled pinch/zoom (works in all devices)
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
// This meta tag makes your web app fullscreen when you have saved it to your home screen (iOS only)
<meta name="apple-mobile-web-app-capable" content="yes">
// This just makes the status bar a different color. I have it set to black here. (iOS only)
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
// This tag adds homes screen icon. (iOS only)
<link rel="apple-touch-startup-image" href="icon.png" />
// This tag adds is used to add a launch screen before your app is fully loaded. (iOS only)
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="icon.png" />
More information about some of the iOS specific ones can be viewed here.


There is a good article over at HTML5 Rocks that better covers this area.


There are several good javascript library’s that handle touch events. Below is a few of them.

  • Zepto.js – Zepto is a minimalist JavaScript library for modern browsers with a largely jQuery-compatible API. If you use jQuery, you already know how to use Zepto.
  • Quojs – Micro javascript library that simplifies your mobile projects.


One thought on “HTML5 Features for the Mobile Web

  1. Hello my friend! I wish to say that this article is awesome, great written and include approximately all significant infos. I’d like to look more posts like this .

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s