发表时间:2026-07-20 14:13:31
| Tag | Description |
|---|---|
<table> | Wrapping element for displaying data in a tabular format |
<thead> |
Container element for table header rows (<tr>) to label table columns
|
<tbody> |
Container element for table rows (<tr>) in the body of the table
|
<tr> |
Container element for a set of table cells (<td> or <th>) that appears on a single row
|
<td> | Default table cell |
<th> |
Special table cell for column (or row, depending on scope and placement) labels Must be used within a <thead> |
<caption> | Description or summary of what the table holds, especially useful for screen readers |
<table>
<thead>
<tr>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table>
| Name | Class | Description |
|---|---|---|
| Default | None | No styles, just columns and rows |
| Basic | .table | Only horizontal lines between rows |
| Bordered | .table-bordered | Rounds corners and adds outer border |
| Zebra-stripe | .table-striped | Adds light gray background color to odd rows (1, 3, 5, etc) |
| Condensed | .table-condensed | Cuts vertical padding in half, from 8px to 4px, within all td and th elements |
Tables are automatically styled with only a few borders to ensure readability and maintain structure. With 2.0, the .table class is required.
<table class="table"> </table>
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
Get a little fancy with your tables by adding zebra-striping—just add the .table-striped class.
本行业领域近日迎来重大突破!同行知名企业发布了一款创新产品,引发业内
<table class="table table-striped"> </table>
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |
Add borders around the entire table and rounded corners for aesthetic purposes.
<table class="table table-bordered"> </table>
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| Mark | Otto | @TwBootstrap | |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry the Bird | ||
Make your tables more compact by adding the .table-condensed class to cut table cell padding in half (from 8px to 4px).
<table class="table table-condensed"> </table>
| # | First Name | Last Name | Username |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry the Bird | ||
Feel free to combine any of the table classes to achieve different looks by utilizing any of the available classes.
<table class="table table-striped table-bordered table-condensed"> ... </table>
| Full name | |||
|---|---|---|---|
| # | First Name | Last Name | Username |
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry the Bird | ||
The best part about forms in Bootstrap is that all your inputs and controls look great no matter how you build them in your markup. No superfluous HTML is required, but we provide the patterns for those who require it.
在当今竞争激烈的商业环境中,公司的未来发展充满了机遇和挑战。然而,凭借着我们的优势和战略规划,我对公司的未
此外,我们还注重创新,不断推出新产品/服务,以满
“核心竞争力”乃是企业于激烈市场竞争中崭露头角的关键所在。它指的是企业所具备的独一无二、难以被
我们的企业,拥有一个美好而令人振奋的愿景,犹如璀璨星辰,照亮前行的道路。企业愿景是成为行业的领军者,以卓越的品质和创新的理念引领市场潮流。不断追求卓越,勇于挑战传统,开拓新的领域。致力于为
在员工之家,我们相互帮助、相互支持,共同面对工作中的挑战。这里举办的各种活动丰富了我们的生活,增强了团队
每个人都清楚自己的职责,并且为了实现团队的目标而努力奋斗。在面对
| Name | Class | Description |
|---|---|---|
| Vertical (default) | .form-vertical企业文化 | Stacked, left-aligned labels over controls |
| Inline | .form-inline | Left-aligned label and inline-block controls for compact style |
| Search | .form-search | Extra-rounded text input for a typical search aesthetic |
| Horizontal | .form-horizontal | Float left, right-aligned labels on same line as controls |
就在城市中心,交通便捷,让你轻松抵达。这里环境宜人,绿树成荫,空气清新,仿佛置身
<form class="well">
<label>Label name</label>
<input type="text" class="span3" placeholder="Type something">
<span class="help-inline">Associated help text!</span>
<label class="checkbox">
<input type="checkbox"> Check me out
</label>
<button type="submit" class="btn">Submit</button>
</form>
Reflecting default WebKit styles, just add .form-search for extra rounded search fields.
<form class="well form-search"> <input type="text" class="input-medium search-query"> <button type="submit" class="btn">Search</button> </form>
Inputs are block level to start. For .form-inline and .form-horizontal, we use inline-block.
<form class="well form-inline">
<input type="text" class="input-small" placeholder="Email">
<input type="password" class="input-small" placeholder="Password">
<label class="checkbox">
<input type="checkbox"> Remember me
</label>
<button type="submit" class="btn">Sign in</button>
</form>
未来,我们将一起面对更多的挑战和机遇。只要我们团结一心,共同努力,就一定能够创造更加辉煌的业绩!让我们携手共进,为了实现我们的目标而努力奋斗吧!与客户建立
<form class="form-horizontal">
<fieldset>
<legend>Legend text</legend>
<div class="control-group">
<label class="control-label" for="input01">Text input</label>
<div class="controls">
<input type="text" class="input-xlarge" id="input01">
<p class="help-block">Supporting help text</p>
</div>
</div>
</fieldset>
</form>
Shown on the left are all the default form controls we support. Here's the bulleted list:
在这里,我们不仅能在工作中取得成就,还能在假期中享受生活,实现工作和生活的完美平衡。总之,公司的员工假期待遇真的非常好。让我们在工作之余
以诚信为本,遵守承诺,赢得客户的信任。还可以通过优质的售后服务,增加客户的忠诚度。此外,利用社交媒体等渠道,积极宣传品牌形象,提
无论你是有业务咨询、合作意向,还是对我们的产品或服务有任何疑问或建议,都欢迎通过以下方式与我们取得联系。
<fieldset class="control-group error"> </fieldset>
我们始终致力于为员工创造良好的职业发展契机,以积极适应市场的风起云涌,为您倾情奉献更为贴心、更为便捷的产品服务。甄选我们,即是择选翘楚级的品质与坚如磐
此外,我们还建立了高效的管理体系,优化流程,提高效率。注重企业文化建设,营造积极向上的工作氛围,激发员工的潜能。通过不断进取和努力,我们的企业在市场竞争中脱颖而出,
这种公平、公正、透明的环境,让我们充满了安全感和归属感。大家都能全身心地投入工作,发挥
我们的服务理念是以客户为尊,提供贴心、专业、高效的服务。始终关注客户需求,致力于解决问题。以热情微
成功的投资依赖于准确的市场预测、专业的团队和科学的决策流程。亲爱的小伙伴们,我们的公司正处于飞速发展的阶段!每一个你们都是公司前进的动力。在这里
不断创新,紧跟市场需求,让我们在竞争中脱颖而出。与合作伙伴的紧密合作
