- <div class="container">
- <table class="table table-bordered table-condensed table-striped">
- <thead>
- <tr>
- <th>名称:</th>
- <th>介绍</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><span class="label">label</span></td>
- <td><code>class="label"</code></td>
- </tr>
- <tr>
- <td><span class="label label-important">label-important</span></td>
- <td><code> class="label label-important"</code></td>
- </tr>
- <tr>
- <td><span class="label label-info">label-info</span></td>
- <td><code>class="label label-info"></code></td>
- </tr>
- <tr>
- <td><span class="label label-inverse">label-inverse</span></td>
- <td><code>class="label label-inverse"</code></td>
- </tr>
- <tr>
- <td><span class="label label-success">label-success</span></td>
- <td><code>class="label label-success"</code></td>
- </tr>
- <tr>
- <td><span class="label label-warning">label-warning</span></td>
- <td><code>class="label label-warning"</code></td>
- </tr>
- </tbody>
- </table>
- </div>
转载:http://blog.csdn.net/ling811