Wbcom Designs | Hire Wordpress Developer
  • Email
  • Facebook
  • Linkedin
  • Twitter
  • Home
  • About
  • Portfolio
  • Website Package
    • WordPress Expert Services
    • WordPress Development India
    • WordPress Customization
    • WordPress Custom Theme
    • Hire WordPress Developer
  • Services
    • WordPress Plugins Development
    • WordPress eCommerce Development
    • WordPress Blog Customization
    • WordPress Website Development
    • WordPress Theme Design
    • WordPress Template Development
    • WordPress Theme Development
  • Buddypress Dev
    • Custom BuddyPress Development
    • Custom Theme Design
    • Custom BuddyPress Plugin
  • Offers
    • Basic WordPress Installation and Setup
    • Premium WordPress Installation and Setup
    • WordPress Theme/Plugin Installation and Support
    • Hosting Transfer/Site Migration
    • WordPress Monthly Maintenance Plan
    • PSD to WordPress
    • WordPress Theme Creation
  • Blog updates
  • Contact us
    • Job Vacancy
Search

Creating a Mobile Web Application with Meta Tags

Posted by VapvaruN - May 18, 2012 - Web Designing
0

Advancing trends for the mobile web are slowly blurring the line between Internet websites and native applications.

Lately there have been many updates to mobile operating systems and web browsers with more capable rendering engines. This means we can work openly with webkit CSS3 effects and even many bits of jQuery code. However a lot of the customization for mobile web apps is done in the document header. Meta tags are slowly being recognized as the best way to push data out to many different mobile platforms. iOS has Mobile Safari and Android users are rendering on the Webkit or Gecko engines. But ideologies are simply not enough – and the fastest way to learn is by trying out some new code.

What Makes a Mobile Webapp?- If you write a typical HTML4/XHTML/HTML5 webpage it will render pretty well on mostly all the modern cell phones. However it will be displayed as a website where users can generally pinch and zoom into areas. This is perfectly acceptable for most instances, except for responsive websites and mobile web applications. Additionally you need to offer your visitors a quick way to access your webapp. Mobile Safari is always an option – but what about launching from the homescreen? All of the App Store applications will launch from their home icon, and this is also possible inside a mobile web app. Although we can run through a few of the required tags first.

Device Viewport- Whether your layout is built flexible or hard-coded to a set width(ex: 320px for iPhone) does not ultimately matter. To generate a webapp view we need the meta viewport tag added in-between your website’s <head></head> section. This can setup any number of important options for how our webpage is rendered on a mobile screen.

1
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

This example above should be perfect for any typical boilerplate application. It will set all the default views to 1.0 scale and the user cannot re-size any part of the site, although they can still scroll vertical and horizontal. Within the content attribute are many other values you can toy around with. The Mozilla dev team has written an article on the viewport tag with full explanations and a couple of examples.

Mobile Safari Tags- The Apple online documentation section has a piece for Safari mobile apps. This includes a reference to each of their proprietary meta tags and how they should be used on your website. But in truth there are really only 2 more aside from the viewport.

1
2
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">

By setting the web-app-capable meta tag Safari can detect that your website is able to run as an application. So when users go to save your website onto their device it will launch without the URL bar or any other Safari trimmings.

If you more quires contact us

Check Blog Site

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Contact: Varun Dubey

  • +91-9795301072
  • +91-5224037931
  • admin@wbcomdesigns.com
  • vapvarun@gmail.com
  • Contact Us
  • vapvarun
    • Facebook
    • Twitter
oDesk Certified Wordpress DeveloperoDesk Certified PHP5 DeveloperoDesk Certified Adobe Photoshop CS3 DesigneroDesk Certified English Vocabulary (U.S. Version) Professional

The Buddypress and Wordpress CMS Customization, Design, Development and PSD to WP and Buddypress Theme Experts

(c) 2013 Wbcom Designs | WordPress, WPMU & Buddypress Experts
  • Home
  • Hosting
  • Job Vacancy
  • Contact us
  • Privacy Policy
  • Terms of use
CLICK TO CHAT