HTML5 and Mobile World: What’s New?by QArea Team on March 14, 2012
The developers realize creating web-applications today is a hard work. There are many browsers and different versions of them in the world. It means you should check your web-app with every of them to being sure about compatibility. In addition, if you want users to run your program on certain mobile gadget you should check their compatibility too.
The users of smartphones, who sometimes visit websites developed without thoughts about compatibility with mobile devices, feel uncomfortable. Who knows, perhaps the programmer has forgotten about a small part of code that sets the initial viewport for gadgets.
<meta name="viewport" content = "width=device-width”>
If you want to turn off zooming you should write this one:
<meta name="viewport" content = "width=device-width, user-scalable=no">
HTML5 can boast about the ability to view websites without internet connection. Of course, you have to visit these sites before for caching them by HTML5, so don’t forget to set HTML5 caching. Just add a special manifest file like the example below. You can be sure all files will be available offline.
… CACHE MANIFEST /mystyle.css /scripts.js /logo.jpg