<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <!--以移动设备为优先 宽度和设备屏幕宽度一致, 初始缩放为1:1, 禁止用户缩放--> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <title>Title</title> <!--配置bootstrap环境--> <link rel="stylesheet" href="bootstrap/css/bootstrap.css"> <link rel="stylesheet" href="bootstrap/css/bootstrap-theme.css"> <script src="bootstrap/js/jquery-3.2.1.js"></script> <script src="bootstrap/js/bootstrap.js"></script> </head> <body> <!--container 宽度1170px container-fluid 宽度100%--> <div class="container-fluid"> <h1 class="page-header">标题1</h1> <h2 class="page-header">标题2</h2> <h4 class="page-header">标题3</h4> <h5 class="page-header">标题4</h5> <h6 class="page-header">标题5</h6> <h6 class="page-header">标题6</h6> <p class="text-center"> <!--<em></em> 斜体 <del></del>删除线 <strong></strong>加粗--> <!--.text-center .text-left .text-right 对齐方式--> <em>write less,</em> <del>do more.</del> </p> <!-- 大写--> <p class="text-uppercase">wirte less, do more.</p> <!--首字母大写--> <p class="text-capitalize">wirte less, do more.</p> <!--小写--> <p class="text-lowercase">wirte less, do more.</p> <!--列表展示--> <ol class="list-unstyled list-inline"> <li>111</li> <li>222</li> <li>333</li> </ol> <!--响应式表格--> <div class="table-responsive"> <table class="table table-bordered table-hover table-striped table-condensed"> <tr> <td>001</td> <td>哈哈</td> <td>嘻嘻</td> </tr> <tr> <td>002</td> <td>呵呵</td> <td>嗯嗯</td> </tr> </table> </div> <!--响应式图片--> <img src="1.png" class="img-responsive img-rounded img-thumbnail"> </div> </body> </html>