1. 引入css樣式文件到HTML頁面中css
<link type="text/css" rel="stylesheet" href="bootstrap.min.css" media="screen">html
2. 若是須要使用Bootstrap一些插件的話,須要引入Bootstrap的js文件,由於Bootstrap是基於jquery插件開發的,因此須要先引入jquery的js文件html5
<script src="jquery.min.js"></script>jquery
<script src="bootstrap.min.js"></script>bootstrap
3. 爲了在移動設備上顯示,確保適當的繪製和觸屏縮放,須要加上viewport的<meta>標籤jquery插件
<meta name=」viewport」 content=」width=device-width, initial-scale=1, maximum-scale=1″>spa
4. 若是使用了一些HTML5 的標籤內容,可是IE又不支持,那就須要加入下面的內容插件
<!--[if lt IE 9]>cdn
<script src="//cdn.bootcss.com/respond.js/1.4.2/respond.js"></script>htm
<script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>