Meta Tag Learning Summary:
The META tag's Name property syntax format: < span>
1.viewport
First, we should have an understanding of viewport:
In layman's parlance, the viewport on a mobile device is the area of the device's screen that can be used to display our pages, and, in particular, the portion of the area that the browser (or possibly an app WebView) uses to display the page. But viewport is not limited to the size of the viewable area of the browser, it may be larger than the viewable area of the browser, or it may be smaller than the viewable area of the browser.
The next step is the meaning of the parameter and parameter values:
<meta name= "viewport" content= "Width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, User-scalable=no ">
Initial-scale-Initial zoom ratio
Minimum-scale-Minimum scale to allow the user to zoom
Maximum-scale-Maximum scale to which the user is allowed to zoom
User-scalable-whether the user can manually scale
2.format-detection
<meta name="format-detection" content="telephone=no, email=no" />
Ignore the number on the page to identify as the phone, ignoring email identification
3.IOS private Two properties: Apple-mobile-web-app-capable and Apple-mobile-web-app-status-bar-style
< Meta name= "apple-mobile-web-app-capable" content=" yes "/> Span class= "Hljs-tag" >
<meta name="apple-mobile-web-app-status-bar-style" content="black" />The effect is to change the color of the top state bar in WebApp mode. Default (white) to Black (black) and black-translucent (Gray translucent)
4.<meta name= "Apple-touch-fullscreen" content= "yes" >
"Add to Home Screen", full screen display
5.<meta name= "Theme-color" content= "#91D4DA" >
Controls the color of the tab, such as:
Original link: http://caibaojian.com/mobile-meta.html
Code from http://caibaojian.com/mobile-meta.htmlname=content="Telphone=no, Email=no"/>
The META tag for getting started with mobile web