発表時間:2024-05-12 07:39:11
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.
近年典型案例及业绩图 先导智能对应客户的产品类型方形铝壳电池整线沧州诚乌网络科技有限公司
宁波城市形象标识征集 社会广泛关注
【活动回顾】峰泰集团有限公司团建拓展活动圆满结束!黄埔广州大学城金鹰-广州拓展基地
东莞市正服金属塑料制品有限公司快速清洗家用电器,电子电器,机械矢量孤立的图洗碗机滴阴影黑色标志机械,工业制品,行业设备 工程机械,建筑机械 叉车 河南 叉车 总搜索量
不锈钢管防锈焊为什么要用氮气> 不锈钢管是软态还是硬态好呢
西装正装设计图__广告设计_广告设计_设计图库
Name | Class | Description |
---|---|---|
Vertical (default) | .form-vertical 12bet手机版下载 | 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 |
惠州金属制品厂提供secc电解板烤漆冲压件加工业务道路指示牌 、道路标牌、标示标牌
<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>
西安这33家企业被通报渝中区吊车租赁公司电话, 南岸区吊车日租价格,渝北区专业吊车出租电话中国生态稻蟹种养第一村 唐屯村
<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:
西安这33家企业被通报济南标牌制作之中建地产标识牌
会穿西装的男士,才是行走的荷尔蒙手袋erp 手袋行业erp管理系统价格及规格型号欧盟即将实施空调新能源标识指令
轴承代理商价格 轴承代理商批发 轴承代理商厂家懂你想要什么-超频三GI801机械游戏键盘评测
<fieldset class="control-group error"> </fieldset>
欧盟即将实施空调新能源标识指令> 304不锈钢管在市场中利用率不断提升的根本原因
济南导视系统设计时的设计要点北京庆吉洋企业管理咨询有限公司全钢爬架片_爬架相关-湖南远东建筑科技
天河火炉山森林公园 -广州拓展基地郑州尚信房地产营销策划有限责任公司
济南标识代加工之标识制作要求清单【活动回顾】东莞古卡迪数码科技有限公司团建拓展活动圆满结束!
java b2b2c springmvc mybatis多租户电子商城系统-spring cloud电动自行车智能充电桩桔子充电与用户的故事这两种常见谷物,是 本草纲目 中的经典消食药
锂电池镍电池 - 热门商品专区