Bootstrap Learning 1 Basic templates

Source: Internet
Author: User

<!--declaration Document type HTML5--
<! DOCTYPE html>
<!--statement page content mainly in Chinese--
<!--declaration page encoded UTF-8--
<meta charset= "Utf-8" >
<!--x-ua-compatible Browser compatibility mode This is a IE8 dedicated tag that specifies the IE8 browser to simulate the rendering of a particular version of IE (such as a person's annoying IE6) to solve some compatibility problems--
<!--details see http://www.cnblogs.com/lovecode/articles/3377505.html--
<meta http-equiv= "x-ua-compatible" content= "Ie=edge" >
<!--declaration Viewport viewport property settings, only recognized on the mobile side
where attributes have width = device-width viewport width equals device width
Initial-scale = 1.0 Initialize the zoom ratio to 1:1 is the equal ratio display
There are other properties as well:
user-scalable = 0; optional value 1, 0, or Yes, no
Whether the user allows zooming.
Maximum = 1.0 Maximum zoom ratio
Minimum = 1.0 Minimum zoom ratio

-
<meta name= "viewport" content= "Width=device-width, initial-scale=1" >
<!--the above 3 meta tags * must be * placed first, and any other content * must be * followed thereafter! -
<title>bootstrap Templates </title>

<!--Bootstrap--
<link href= "Lib/bootstrap/css/bootstrap.css" rel= "stylesheet" >
<!--respond asynchronous-loaded local open does not take effect requires the use of a server, which is opened on, for example, Apache
<!--HTML5 Shim and Respond.js for IE8 support of HTML5 elements and media queries-
<!--WARNING:Respond.js doesn ' t work if you view the page via file://--


<!--only IE recognizes comments--
<!--browsers that do not support H5 tags need to reference html5shiv.js package--
<!--browsers that do not support media queries need to introduce Respond.js package---
<!--[If Lt IE 9]>

<script src= "Lib/html5shiv/html5shiv.min.js" ></script>
<script src= "Lib/respond/respond.js" ></script>


<! [endif]-->

<body>
<!--Delete the following title to fill in the content-
<!--fill out the content area--

<!--jquery (necessary for Bootstrap ' s JavaScript plugins) Bootstrap based on jquery so jquery has to be introduced first--
<script src= "Lib/jquery/jquery.js" ></script>
<!--Include all compiled plugins (below), or include individual files as needed-
<script src= "Lib/bootstrap/js/bootstrap.js" ></script>
</body>

All packages are referenced from the local server and do not use CDN

Bootstrap Learning 1 Basic templates

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.