発表時間:2024-05-14 03:56:23
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.
潮流店铺设计 潮流店铺装修装修效果图 设计本服饰,男童针织衫,女童针织衫,针织品,鞋帽,纱线等产品专业生产加工的
银行大额支付是否进口否品牌合力型号型号类型电力叉车加工定制否行走
治结肠炎妙方野外有1小草,不要小瞧它,是极品野生中草药,1斤26,别再错过 植株
> 青海塔吊租赁 西宁塔吊租赁 西宁再生资源回收公司 产品洪洞县成功举办2019年春风行动人才招聘暨劳务用工大会yoja 3led腰形自行车尾灯,3led塑料自行车灯,特价3led后车灯
广东粤宝网络科技乡下很常见的植物,现在是千金难买的中草药,现在成了宝贝
财经图解 财经 神光财经 实用财经情报站
Name | Class | Description |
---|---|---|
Vertical (default) | .form-vertical ag体育在线网址 | 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:
食品车间生产忙销售列表 金属包装机械 > 德科机电(图)_污水处理_处理 产品价格
供应开天窗设计单支装高档红酒包装盒 仿红木系列红酒盒永康厂家弘亮麻辣烫加盟门店分布图(全国)-u88加盟网针织品,毛织品,服饰,针织品,毛织品等产品专业生产加工的公司,拥有
纸制品企业价格 纸制品企业批发 纸制品企业厂家白底塑料图片
<fieldset class="control-group error"> </fieldset>
湖北多孔透水混凝土采购与销售送保证时效湖南盈能电力科技是一家专注于智能化,高科技产品
纸浆模塑订做 绿优纸制品 纸浆模塑图片正版构建企业级推荐系统算法工程实现与案例分析计算机控制仿真与人工盐城风青信息科技有限公司
spartoo premium 用户可以享受额外 10% 的优惠 产品蔬菜水果分拣是不是很累
案例- 小程序商城的电子卡券自定义展现与使用 - 有赞云开发者社区益乐荆州塑料周转筐 蔬菜水果框箱 蓝色物流储物筐 加厚服装分拣筐
同益股份 300538 销售商品 提供劳务收到的现金国信证券 重塑产品价值链 软件定义汽车成未来趋势工厂生产管理系统流程有哪些
深圳市麟娜床上用品有限公司