<div class="container"> <h2>表格</h2> <p> .danger 类表示一个危险的操作:</p> <table class="table"> <thead> <tr> <th>#</th> <th>Firstname</th> </tr> </thead> <tbody> <tr class="danger"> <td>1</td> <td>Anna</td> </tr> <tr> <td>2</td> <td>Debbie</td> </tr> <tr> <td>3</td> <td>John</td> </tr> </tbody> </table> </div> <script src="//apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script> <script src="//apps.bdimg.com/libs/bootstrap/3.3.0/js/bootstrap.min.js"></script>