发表时间:2026-08-15 12:10:19
| 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>
企业年报是企业每年向外界展示自身经营状况和财务成果的重要文件。它详细记录了企业在一年内的各项业务活动、财务数据、风险挑战等信息。共同开拓市场,实现互利
我们的公司,那可是一路高歌猛进,业绩趋势好得让人惊叹!从最近的数据来看,公司的业绩呈现出了强劲的增长态势。销售额逐月攀升,市场份额不断扩大,这简直太厉害了!这得益于
合作伙伴是我们在事业道路上的得力助手。他们与我们携手并肩,共同追求目标。彼此之间有着共
当前我们行业发展稳健,市场规模稳步增长。技术持续创新,产品愈发多样,满足消费者多元需求。竞争加剧,
我们公司的产品那可真是拥有强大的核心竞争力啊!首先,咱们的产品在市场上独树一帜。它具有独特的功能和特点,能够满足客户的特殊需求。而且,研发团队那
在这样的公司里,我们都充满了干劲儿,想要为公司的发展贡献自己的力量。
