発表時間:2024-05-14 18:35:59
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.
中通量研磨仪的部件和功能特点介绍如何清洗饭店抽油烟机
捷瑞达称重油桶升高车 圆桶堆高车 油桶搬运装卸车倒料车翻转车
焊缝检测用超声波探伤仪磁粉探伤仪无损检测设备宁波优翔国际贸易主营产品: 自营或代理货物和技术的进出口
北京地区电动三轮垃圾车/保洁车石英砂过滤器的滤速是多少 ?电源开关的PCBA加工案例20-深圳长科顺
成都葬礼仪式电话 丧葬用品专业服务沈阳市兰妮教育信息咨询
贵州务川开展农作物病虫害统防统治项目检查验收
Name | Class | Description |
---|---|---|
Vertical (default) | .form-vertical 立冠娱乐app下载 | 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>
户外不锈钢坐凳 艺术座椅 路椅南昌市真诚殡葬服务一条龙 真诚为您24小时服务 南昌殡葬服务成都葬礼仪式电话 丧葬用品专业服务
<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:
XAU-4CS镀金测金仪 镀层测试仪 光谱分析仪Wonbio-R系列高通量组织研磨仪
太平钱江新城项目招标代理服务采购报名公告养花种植必备,园艺捆扎带在设计师手中颜值逆天了辽宁辽阳大块石头分解劈裂机怎么样
温州魔乐宝机器人教育咨询精品园艺师夏令营,开班啦
<fieldset class="control-group error"> </fieldset>
因为本公司所有产品的模具属于客户,如贵司需要定做相沭阳县汇川苗木园艺场 供应产品
泉州红苹果包袋有限公司文具包装定制 豪义包装内外包装 扬州文具包装2016华南国际幼教展值得观赏的亮点--电子白板优化幼儿园教学活动
天津滨海国际花卉科技园区产品畅销国内外还不会使用菲希尔油缸镀层测厚仪 ?进来看
今年最新炫富方式!安徽六安“白鹅王国”冬季腊鹅飘香注意了!选购EDX3000测金仪二手时应多考虑这些因素
蒙古族民族服饰少女头饰图片天然软木纹软木板天然软木革皮革仿木纹软木手袋鞋材皮具包装软木过敏性鼻炎有关的症状,片剂_10mg*12片/盒,集药方舟 | 药品零售商城
简述菲希尔油缸镀层测厚仪的常见故障相应解决方法