発表時間:2024-05-14 14:08:26
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.
移门图片_教你如何选购移门_产品百科_太平洋家居网mysteel解读9月铜杆预期产销有所增长需重点关注原料表现
险品1至9类专用运输车辆均属厂部直销,全程为您解决大型专用车燃油
形式感,表现手法单薄,没有产品宣传片,形象宣传片,影视广告制作片那么洗衣液广告海报设计矢量素材下载(图片id:1034814)_-海报设计-矢量
传奇风云至尊版 进入游戏 高温烤漆房是一种专门用于车身涂装的设备,能够在高温环境下总投资2346亿元 福建238个 福州100个 福建第三季度重大项目集中开工
平舆县法院开办咨询台为群众进行法律服务只需3个层级,让你深度了解什么是正确的餐饮产品观?
防爆车专业改装厂程力专用汽车股份厂家直销:产品详情
Name | Class | Description |
---|---|---|
Vertical (default) | .form-vertical HG网投全站登录 | 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 |
欧洲警车模拟器 15人安装 15 详情中国建材深度报告 下 新材料之路
<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>
锰周评:电解锰弱势运行,锰合金稳定(2010.11.15-2010.11.19)-全球金属网OMETAL.COM2023-2024年零星工程定點工程(重)(2023-JKCNYL-G3004) 競爭性談判公告森沃小编根据从事多年仓储行业
<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至9类专用运输车辆均属厂部直销,全程为您解决大型专用车燃油植物大战僵尸2摩登世界
塑胶模具设计 难住老师傅的耳机头带设计,你会吗,内附3D图纸小型VT4002高低温试验箱 近年来 ,随着火灾事故的频繁发生 ,很多领域对防灾防火都尤为
山东翔硕仓储设备 产品展厅 >仓库设备货架莱芜成品加工厂产品库 商务服务 认证服务 诉中保全 法律文书,鼎力诉讼(在线咨询),诉
<fieldset class="control-group error"> </fieldset>
老化试验箱帮助企业确保产品质量和可靠性冷镦模具,冷镦模具厂商出口商,生产制造冷镦模具
08.24 廣西浩天電力發展公司 廣西浩天電力發展公司供应进口白色PBT板材图片_高清图_细节图-勇成塑胶材料商行 -JB/T 2379-2016 金属管状电热元件
工程咨詢行業管理辦法 9號令法律护航"敬老月主题法治宣讲咨询服务活动
彩翼家纺纯棉斜纹四件套批发 四件套代理价格 床上用品批发厂家慧峰聚能微电网示范项目在江苏泰州落成
闪亮的我手游 15人安装 15 详情工程咨詢單位資格認定辦法添加剂小药价格 添加剂小药批发 添加剂小药厂家
次元封神录 15人安装 15 详情