Mobile website META tagMobile-specific META tags
1, <meta name= "viewport" id= "viewport" content= "Width=device-width, initial-scale=1" >
This meta tag is added to the head of the Web Phone wap2.0 Web page, and the page will be displayed in its original size in the iphone's browser and does not allow zooming.
when it comes to mobile platform meta tags, you have to say viewport, so what is viewport?
viewport is the viewable area, for desktop browsers, viewport refers to the area that is used to look at the page after removing all toolbars, status bars, scrollbars, and so on .
2, <meta name= "format-detection" content= "Telephone=no" >
When the HTML page is browsed on the phone, the label is used to specify whether to display the phone number in the page content as a dial-up hyperlink.
the default value on the IPhone is:
<meta name= "format-detection" content= "Telephone=yes"/>
If you don't want your phone to automatically display the phone number in your page as a dial-up hyperlink, you can write:
<meta name= "format-detection" content= "Telephone=no"/>
3, <meta name= "apple-mobile-web-app-capable" content= "yes"/>
Description: The website opens support for Web apps.
4, <meta name= "Apple-mobile-web-app-status-bar-style" content= "Black"/>
Description:
The color of the status bar (the top bar of the screen) in the web App app;
defaults are default (white), which can be set to Black (dark) and black-translucent (gray translucent).
Note: If the value "Black-translucent" will occupy the page px position, floating above the page (will cover the page 20px height –iphone4 and itouch4 Retina screen is 40px).
Cell phone meta tag (save it every time you find it)