発表時間:2024-05-12 22:26:35
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.
Note: Striped tables use the :nth-child
CSS selector and is not available in IE7-IE8.
<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.
牛犊子 活牛出售 小牛 改良肉牛犊 鲁西黄牛怀孕母牛种牛养殖技术html,我们主要销售的产品有 电动自行车充电桩,十路充电
房地产售楼中心标识系统包括那些 ?
亚克力板材质标牌使用说明电脑商铺: http://2036126.tuiguangjia
葬爱南波4s店 - 厦蛋网-校园网c2c交易系统厂房设计最全的轻型钢结构厂房施工图纸cad14张图纸海尔 家用雾化机_海尔怎么样_家用雾化机_家居家装_家用电器
测压装置连接管 尼龙树脂管 在线咨询 测压软管蒲燕实业(上海)有限公司
团建必不可少的高空挑战项目大全,请收好!
Name | Class | Description |
---|---|---|
Vertical (default) | .form-vertical 龙8官网唯一 | 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 |
四川桂如新能源科技有限责任公司某钢结构联合厂房图纸含结构设计说明共17张
<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>
花都芙蓉度假村 -广州拓展基地数据库:mysql 开发语言:php javascript 商城分类:b2b b2c c2c襄城县蓝涵农业有限公司
<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:
公司:郑州云开机械设备建筑工地塔吊料斗 1立方塔吊砂浆料斗icsgm405668ytde8gtr锂电池充电管理丝印sg7tdfn22配套芯片
肉牛市场 山东肉牛 波尔山羊 肉牛养殖基地0道路指示牌、道路标牌、标示标牌深圳市随车吊租赁厂家
南京玄武区周边有13米高栏车出租公司聊城龙湾小区标识牌制作实景照
<fieldset class="control-group error"> </fieldset>
电动自行车扫码充电桩扫码充电充满自停管理体系认证iatf16949认证供货厂家 深圳市亿杰企业管理咨询
肉牛市场 山东肉牛 波尔山羊 肉牛养殖基地0专业从事锂离子电池,电源系统研发,生产及销售的高科技企临朐县城关小学道路指示牌方案
国内最大的聚酰亚胺薄膜研发和生产基地——万达微电子_产品亚克力板材质标牌使用说明
> 304不锈钢管怎么分辨优劣呢 ?广州责效投资咨询员工上传的销售团队照片
花都芙蓉度假村 -广州拓展基地大学城中心湖 -广州拓展基地济南连城水岸小区标识牌完工照
轴承代理商价格 轴承代理商批发 轴承代理商厂家