Html<meta> label usage and description for mobile page

Source: Internet
Author: User

Name= "Viewport" Settings window (the area where the page can be drawn)

Width= "Device-width" application width is the same as the width of the screen (height with width)

Initial-scale= "1.0" Application startup is scaled size

Minmum-scale= "1.0" user-Scalable minimum size, 1.0 means no scaling (Maxmum-scale with Minmum-scale)

user-scalable= "No" user gestures can be scaled

Target-densitydpi= "device-dpi" (Set pixel density dpi, dots per inch) device-dpi the DPI value of the original device does not scale the note 1inch=24.5mm=2.54cm

<meta http-equiv= "x-va-compatible" content= "Ie=edge" > Forced to use IE latest kernel mode rendering

<meta name= "formate-detection" content= "Email/telephone=no/yes" > whether the phone number is automatically recognized on the phone, mailbox number

<meta name= "apple-mobile-web-app-capable" content= "yes" > whether full screen mode is enabled, delete the default Apple toolbar and menu bar

<meta name= "Apple-mobile-web-app-status-bar-style" content= "BLACK" > The color of the status bar (top bar of the screen) in the Web App app

<meta name= "Apple-touch-fullscreen" content= "yes" > added to the main screen, full screen display

<meta name= "mobileoptimized" content= ">" The browser does not automatically resize the file

Apple Web App

<link rel= "apple-touch-icon-precomposed" href= "iphone-milanoo.png" > This link is to set the Web app's place on the Home screen icon file path, This path needs to be noted in the Web site's document root directory, but not the server document root directory.

<link rel= "Apple-touch-startup-image" href= "milanoo-startup.png" > This link is set to start the interface, the location of the same path, using the same path as above

Html<meta> label usage and description for mobile page

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.