Mobile META tag settings

Source: Internet
Author: User

First, control the Phone view page viewport aspect Zoom property

<name= "Viewport"  content= "width=device-width,minimum-scale=1.0, Maximum-scale=1.0,user-scalable=no,minimal-ui ">

Width:viewport width (range from 200 to 10,000, default is 980 pixels)
Height:viewport height (range from 223 to 10,000)
Initial-scale: Initial zoom ratio (range from >0 to 10)
Minimum-scale: The minimum scale to allow the user to zoom
Maximum-scale: Allows the user to zoom to the maximum scale
User-scalable: Whether the user can manually scale
Minimal-ui: Hide the Address bar and navigation bar when Web pages are loaded

Second, control the mobile phone digital text link

<namecontent/>

You write a bunch of numbers without a link style, and the iphone will automatically add your text link style, and click on this number will automatically dial! Want to get rid of this dial-up link how to do it? Then our meta is prowess again, the code is as follows:
Telephone=no banned the conversion of numbers to dial-up links!
Telephone=yes turned on the number into a dial-up link, to turn on the conversion function, this meta will not have to write, in the default is the case is open!

Third, the function is to control the status bar display style

<Metaname= "Apple-mobile-web-app-status-bar-style"content= "Default"/><Metaname= "Apple-mobile-web-app-status-bar-style"content= "BLACK"/><Metaname= "Apple-mobile-web-app-status-bar-style"content= "Black-translucent"/>

Iv. The role of this meta is to delete the default Apple toolbar and menu bar

<namecontent/>

The content has two values "yes" and "no", and when we need to display the toolbar and menu bar, the row meta is not added, the default is display.

Mobile META tag settings

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.