発表時間:2024-05-14 07:49:32
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.
恒温摇床的设备用途特点兑水即用,生态环保,刮涂轻松,附着力强,是非常值得推广的大众产品
光电子元器件行业发展趋势分析
维护保养恒速搅拌器是确保设备正常运行的重要措施约附近300一次:广州人才集团2024年2月“营销作战单元”龙虎榜
易晨仪器电子样册2013版奔朗新材836807超硬材料制品企业研究立式|卧式|叠加式 恒温摇床
一只 火鸟 入盛城 探访年产六万吨耐火材料自动化生产线项目棉耳狨猴,两只耳朵上面各有一簇棉花状的白色绒毛
【排版】工业设计展板
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>
同步网络谈企业网站制作中常见的十种失败熔喷布模具残胶气化炉公司受寶雞法士特齒輪有限
<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:
寶鈦股份機維中心油煙治理日式庭院花园陶土石灯烛台草坪假山角园艺摆件装饰品仿大理石风灯
W2R-100黑灰色双电源2P 3P 4P常规款(导轨型双电源)安徽建设工程监理中心建筑,建材 防水,防潮材料 防水涂料厂家_聚氨酯防水涂料|天硕建材(图)
企业建立网站的好处有哪些?奔朗新材836807超硬材料制品企业研究
<fieldset class="control-group error"> </fieldset>
产品详情康明斯k38库存水泵 全新水泵康明斯地区负责人:赵燕女士(销售东康前海新能源成功研发定日镜及追日控制系统产品
岩板玻璃磨轮单边带齿斜边金刚轮大理石磨边机抛光轮石英石材砂轮重磅全面提升光通信器件可靠性文件发布临澧县地磅秤销售维修迁移
打折毛绒毛外套羽绒服围脖绒毛儿童ettoi冬款2021羽绒服山东名嘉集团项目工程建设加快步伐
在地磅上长时间的停车好不好?看看这些看完这些你就知道无人值守地磅给企业带来的影响了
专业销售小型调速电机(可按客户要求转速任意组配)2日式竹子景观流水摆件喷泉石磨鱼池阳台办公室餐厅庭院客厅装饰品原创作品:2016产品设计手绘12月一日一画
建筑防水施工时应该注意哪些问题呢?