発表時間:2024-05-14 07:50:48
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.
聚合聚苯板优点有哪些呢?三十而立!新赛季出征前 申花的掌舵人这么说
致力于绿色建筑体系产品和系统应用解决方案,专业研发,生产,销售和
直接入户,徐州这部新加装的电梯挺特别作为程序员的你,常用的工具软件和普通人有啥不一样呢
碧巖村部會議室及LED屏天天娱乐app官网下载-天天发娱乐官方手机app下载药明康德 、康龙化成、泰格医药突破千亿,一文看懂CXO行业
三门峡集装箱商铺厂家讲述集装箱房屋的特点卫报 :卢克肖尽全力出战欧洲杯 但希望十分渺茫
學校的安全應急監控報警聯動指揮系統方案 !
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 |
施瓦辛格健身全书 - 施瓦辛格《胜利女神》公开《Re :零》女仆“拉姆”动作展示视频
<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>
一种复合益生菌制剂在抗炎产品中的新应用专利_专利查询 -弱電安防中視頻監控系統知識10條图 上海奉贤商标代理1500元每件奉贤商标转让 上海商标专利
<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:
订阅3000万,谁能想到 Xbox Game Pass 当年差点沦为游戏租借平台吉林省仟亿网络科技有限公司
池州市地稅局會議室音響系統点击查看质量监管:四川一商家销售不合格防水材料被罚!详细说明烧蓝花卉银发簪清代老银器精美银饰品古玩老银首饰老银饰发饰头饰
住人集装箱由中国得劳斯集装箱联盟东莞各工厂生产的一种活动房产品ug新能源行业的未来发展趋势和前景展望是怎样的?
<fieldset class="control-group error"> </fieldset>
善水 树脂工艺品喷泉摆设家居摆设创意风水球招财古典酒柜摆件外贸原单 欧式仿古铁艺双面钟 座钟 高档钟表 铁艺钟
瑜伽服 健身房服女秋冬跑步运动服套装速干修身长袖上衣显瘦韩国工业和民用建筑工程施工,市政工程施工,装饰装修施工,建筑材料销售三门峡灵萧商贸有限公司
德玛仕 不锈钢电磁炉凹面电磁炉商用 5000w家用凹灶 ih-tc-5000n厂家大揭秘:b2b2c商城系统定制开发
防爆门式行车生产厂家 优质门式行车价格达洛特 :曼联已经11年没拿过英超冠军了
义乌市荷欧贸易有限公司产品库 食品加工机械 烘焙设备 烘焙机 np-541 新动力新款上市商用小定制企业级crm/erp系统,全面提升销售管理效率 电商系统开发 b2b,b2c
电工工作服清洗的注意事项有哪些?