The first step, start, introduce the basic style
<!--new Bootstrap core CSS file -<Linkrel= "stylesheet"href= "//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css"><!--jquery file. Be sure to introduce it before Bootstrap.min.js -<Scriptsrc= "//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></Script><!--the latest Bootstrap core JavaScript files -<Scriptsrc= "//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></Script>
The second step is compatible with the following IE9
Let's briefly explain a few of these important codes:
The bootstrap template introduces the following code file for IE6, 7, and 8 versions (IE9) browser-compatible HTML5 new tags.
<src= "Https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js">< /script>
Similarly, to make the IE6, 7, 8 browser compatible CSS3 styles, introduce the following code:
<src= "Https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js" ></script>
The basic examples are as follows:
<!DOCTYPE HTML><HTMLLang= "en"> <Head> <MetaCharSet= "Utf-8"> <Metahttp-equiv= "X-ua-compatible"content= "Ie=edge"> <Metaname= "Viewport"content= "Width=device-width, initial-scale=1"> <title>HTML Standard template for bootstrap</title> <!--Bootstrap - <Linkhref= "Css/bootstrap.min.css"rel= "stylesheet"> <!--your own style file - <Linkhref= "Css/your-style.css"rel= "stylesheet"> <!--The following two plugins are used to support HTML5 elements and media queries in IE8 and the following versions of browsers, if they are not required to be removed - <!--[If Lt IE 9]> <script src= "Https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js" ></script> <script src= "Https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js" ></script> <! [EndIf] - </Head> <Body> <H1>Hello, world!.</H1> <!--If you want to use Bootstrap's JS plugin, you must first dial into jquery - <Scriptsrc= "Http://libs.baidu.com/jquery/1.9.0/jquery.min.js"></Script> <!--includes all bootstrap JS plug-ins or can be used according to the JS plugin call - <Scriptsrc= "Http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></Script> </Body></HTML>
World
Bootstrap Theoretical basis