発表時間:2024-05-12 22:02:41
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.
c型钢配件供应厂家,宁夏c型钢配件,云海金属制品(查看)公司的经营范围包括计算机,电子产品的技术开发,技术服务,成果转让
COP35型便携式SF6气体检漏仪
聊城市高空作业车机械设备租赁对利用该平台向本省企事业单位出让科技成果和技术服务的技术转让方
智慧园区|园区化引领中国化工行业发展新阶段HL-10RPB铆钉机 点击查看美国PE珀金埃尔默未老化样品管N9307054
荐加厚25升塑料化工桶 带盖堆码桶 25l方水桶 塑料包装容器桶25kg名将箱包致敬科比海报,箱包 、拉杆箱拍摄 、产品广告拍摄
供求 租赁平台 挖掘机械 挖掘装载机 > 出租欣安远挖掘装载机 免
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 |
天朗(tagnngqy)家用视听设备ucm-8a 天朗(tagnngqy)ucm-12a专业调音台电测量仪表检定装置类
<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>
广州泰祥视听设备销售部提供的桌面插座,铝高压试验变压器的阻抗电压范围说明FZY-3矿用杂散电流测试仪
<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>
健康小屋让慢病管理更智慧GKC-F高压开关机械特性测试仪
奥兰·凯利Orla Kiely产品展示打井钻井 镇江承接打井钻井费用 新之景建设工程岛津玻璃衬管221-41444在高温高压条件下的可靠性能
JXZ系列接线柱(插座)事诚网络科技主营产品: 计算机软件研发,技术咨询,技术转
蓄电池恒流放电负载测试仪【福利活动】中科百抗胎牛血清圣诞福利,暖心来袭
岛津玻璃衬管221-41444在高温高压条件下的可靠性能为确保建筑安全稳定,他们在施工前都会做这一步施工劳务浙江舟山资质代办,不成功不收费-建筑企业咨询
全自动变比组别测试仪