Several common definitions of meta definitions for mobile clients
Source: Internet
Author: User
<span id="Label3"></p><pre><span style="color: #000000;"><span style="color: #000000;">in the Iphone's browser, the page will be displayed in its original size and not allowed to Scale. </span></span><meta name= "viewport" content= "width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, User-scalable=no "><span style="color: #000000;"><span style="color: #000000;">width</span></span>-width height of viewport-<span style="color: #000000;"><span style="color: #000000;">the height of the viewport initial</span></span>-scale-<span style="color: #000000;"><span style="color: #000000;">the initial scaling ratio minimum</span></span>-scale-<span style="color: #000000;"><span style="color: #000000;">allows the user to zoom to the minimum scale maximum</span></span>-scale-<span style="color: #000000;"><span style="color: #000000;">allow user to zoom to the maximum ratio</span> user</span>-scalable-<span style="color: #000000;"><span style="color: #000000;">whether the user can manually scale</span></span>--------------------------------------------------------------------------------------------------------------- -------------------------------<span style="color: #000000;"><span style="color: #000000;">the default value on the iphone is (the phone number is displayed as a dial-up hyperlink):</span></span><meta name= "format-detection" content= "telephone=yes"/> can telephone=<span style="color: #000000;">no <span style="color: #000000;">, the mobile phone number is not displayed as a dial-up link</span></span><meta name= "format-detection" content= "telephone=no"/>---------------------------------------------------- --------------------------------------------------------------<span style="color: #000000;"><span style="color: #000000;">Private attributes of the iOS device to the meta definition: (can be added to the home Screen)</span></span><meta name= "apple-mobile-web-app-capable" content= "yes"/><span style="color: #000000;"><span style="color: #000000;">• Web App support is enabled on the Web Site. </span></span><meta name= "apple-mobile-web-app-status-bar-style" content= "black"/><span style="color: #000000;"><span style="color: #000000;">• The color of the status bar (at the top of the Screen) in the Web app, and the default value is defaults (white), which can be set to</span> black</span>-<span style="color: #000000;"><span style="color: #000000;">Translucent (gray translucent). • If the value is "black</span></span>-<span style="color: #000000;"><span style="color: #000000;">Translucent "will occupy the page px position, floating above the page (will cover the page 20px height –iphone4 and itouch4 Retina screen is 40px). </span></span>--------------------------------------------------------------------------------------------------------------- ---<span style="color: #000000;"><span style="color: #000000;">This article reprinted to: http:</span></span><span style="color: #008000;"><span style="color: #008000;">//</span></span><span style="color: #008000;"><span style="color: #008000;">blog.csdn.net/macwhirr123/article/details/11971303</span></span>More Information: http:<span style="color: #008000;"><span style="color: #008000;">//</span></span><span style="color: #008000;"><span style="color: #008000;">www.cnblogs.com/yuzhongwusan/archive/2011/11/29/2267568.html</span></span></pre><p><p></p></p><p><p>Several common definitions of meta definitions for mobile clients</p></p></span>
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