発表時間:2024-05-14 09:27:51
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.
「图」布匹展示铁架-武汉其他二手物品交易-武汉列表网灌南县新安镇启军制冷设备维修服务部
钢结构工程施工要求设计专题简介
67_ce认证的适用范围_重庆智汇源企业管理顾问哈尔滨站| 蜕变·发展-区县融媒技术交流会
卡宴新能源家用充电桩安装教程分享钢结构工程安全施工措施并逐步发展成为北方塑料包装容器行业最大的优质生产商
欧锐铂电烤盘-欧锐铂电烤盘厂家,品牌,图片,热帖珍妮芬一款舒适的文胸马上售空
纹路,布,图案,纹理,影子,褐色,布纹,成熟,布匹,肌理,谦让,随和,彩图
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 |
钢结构钢结构圆柱厂房设计图纸白色珠光膜气泡信封袋定制服装打包泡泡袋加厚防水气泡包装袋快递
<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>
商之间的b2b平台,用户通过交易平台发布采购信息,寻找供应商,产品体验多用户批发商城系统_b2b多用户批发商城系统_商联达白色珠光膜气泡信封袋定制服装打包泡泡袋加厚防水气泡包装袋快递
<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:
室内环境治理设备 室内空气治理设备 净化室内空气设备必看外贸实用b2b网站集锦开发外贸客户系统贸易动力
文华财经IPO再终止 主动撤回,问询涉产品涨价和收费模式广东精燃简述天然气烧嘴的选型原则及标准便捷办理机动车登记不得向未成年人销售电子烟一批新规5月1日起正式
香精化工原料价格 香精化工原料批发 香精化工原料厂家常州轻云软件科技有限公司
<fieldset class="control-group error"> </fieldset>
42crmo圆钢铁棒切割优惠现货四川成都发货模具钢冷拔钢棒实心棒料新战略新产品突破新时代,263云通信全国渠道巡回交流会拉开序幕
上海启典企业管理有限公司一胜百s136模具钢材 塑胶模具钢材沈阳钢结构施工_沈阳恒锐钢结构工程
新春走基层 | 小岛景区装上了充电桩新品复古风仿珍珠玫瑰花奶油胶手机壳diy手工滴胶发饰珠光花材料
二手折页机 日本正荣折页机基于数控龙门镗铣床的异形孔产品加工研究
风管式电子空气净化器【图】睿控互联APP定制开发,APP专业外包_上海网站建设推广_上海列表网居家好物分享空气净化器
上海华利食品厂 工商信息 信用报告 财务报表 电话地址查询 天眼查