How to do a mobile page

Source: Internet
Author: User

Recently in the Mobile Phone Web page is how to do, after learning to share with you hope that in the future, we will not be so laborious study.

You think that's me?? Ha ha

Well, the nonsense is not much to say, the matter is important .....

We make a mobile website, first of all to clear a purpose, you are to do a computer station to adapt to the mobile phone, or purely mobile station, like app or mobile browsing Web page. It's about the same!

What I am going to introduce to you today is hahaha, the latter.

You can choose frame or no frame ....

First in your header file declaration to declare these meta ....

    1. <meta name= "viewport" content= "Width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0 "/>
    2. <meta name= "apple-mobile-web-app-capable" content= "yes"/>
    3. <meta name= "format-detection" content= "Telephone=no"/>

The first one is to set the screen size of the phone, the second is to set the iphone page full screen, the third is to cancel the number is recognized as the phone number! Of course, there are many other, you can Google, my project is usually only used in the first two. The careful classmate may find that the bootstrap framework's header file declaration is much like the first one.



How to do a 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.