Meta-information on mobile

Source: Internet
Author: User

One: Meta information

(1) <meta name= "viewport" content= "Width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, User-scalable=no "/>

The height of the width-viewport width height-viewport

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

(2) < meta HTTP-EQUIV = "x-ua-compatible" content = "ie=edge,chrome=1"/>

This is a IE8 special tag, used to specify the IE8 browser to simulate a particular version of the IE browser rendering method (such as people annoying IE6), to solve some of the compatibility problems,

For example, the specific way to simulate IE7 is as follows:< meta HTTP-EQUIV = "x-ua-compatible" content = "Ie=emulateie7"/> (excerpt)

Here Google made a plug-in: Google Chrome frame (google embedded browser framework GCF).

This plugin can keep the user's IE browser intact, but when users are browsing the web, they are actually using the Google Chrome kernel, and support IE6, 7, 8 and many other versions of IE browser. Excerpt

(3) <meta name= "renderer" content= "WebKit"/> (if the page needs to be the default speed core)


If the page needs to default with IE standard kernel, add tag: <meta name= "renderer" content= "Ie-stand" >

Meta-information on mobile

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.