Meta tags for mobile web front end

Source: Internet
Author: User

Recently this time is busy to do the web mobile side, things and PC side still have a difference. This month also learned a lot of things, too much to start from scratch, first summarize the META tag it.

The main label contents and comments are as follows:

<meta charset= "UTF-8" > <!--HTML5 has simplified the format of the CharSet character encoding--
<meta http-equiv= "x-ua-compatible" content= "Ie=edge, chrome=1"/> <!--using the latest version of IE and using Google kernel rendering--
<meta http-equiv= "Cache-control" content= "No-siteapp"/> <!--ban Baidu transcoding to the page to paste ads, etc.--
<!--the current window width is equal to the device width initialization scale Minimum scale is 1.0 range (0-10) and does not allow user to scale ios-->
<meta name= "viewport" content= "Width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" >
<meta name= "apple-mobile-web-app-capable" content= "yes"/> <!--enable Web App support on the website ios-->
<meta name= "Apple-touch-fullscreen" content= "yes"/> <!--Enable WebApp full screen mode ios-->
<!--control status bar display style black black-translucent gray translucent will overwrite 20px height default is white and floats on top of the web without consuming Web page resources ios-->
<meta name= "Apple-mobile-web-app-status-bar-style" content= "Black"/>
<meta name= "Apple-mobile-web-app-title" content= "title after Apple main Screen" > < title after!--added to the main screen ios-->
<meta name= "format-detection" content= "Telephone=no"/><!--prohibit digital processing as a telephone connection ios-->
<meta name= "format-detection" content= "Email=no"/> <!--turn off automatic mailbox recognition android-->

<!--window phone to remove the translucent gray background from the click of a and input tags; iOS uses style-webkit-tap-highlight-color:none;-->

<meta name= "Msapplication-tap-highlight" content= "no"/>

Meta tags for mobile web front end

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.