Bootstrap based on mobile device development, what needs to be written in the META tag

Source: Internet
Author: User

1 <Metaname= "Viewport"content= "Width=device-width,initial-scale=1" />2 <!--because the mobile device screen is very small, when the first time you open a Web page, some browsers may not be in response to the layout of the display, but according to the original page size, the user can swipe, or zoom to adjust the page position, size, so that our responsive development is useless, plus this is the words, The width of the page is consistent with the width of the physical device and is not scaled -3 <Metahttp-equiv= "X-ua-compatible"content= "Ie=edge">4 <!--because IE browser does not support BT very well, so this means to tell IE browser, with the latest rendering mode loading page- 
1 <!--The bootstrap template introduces the following code file for IE6, 7, and 8 versions (IE9) browser-compatible HTML5 new tags.  -2 <Scriptsrc= "Https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></Script>3 <!--Similarly, to make the IE6, 7, 8 browser compatible CSS3 styles, introduce the following code: -4 <Scriptsrc= "Https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></Script>5 <!--BT does not support IE compatibility mode -

Bootstrap based on mobile device development, what needs to be written in the META tag

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.