発表時間:2024-05-14 11:00:11
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.
PVC胶盒 ,东莞虎门长荣塑胶厂学院副院长陈宁春带队开展桃花林义务植树活动
600/400/280svw上汽塑料周转箱鑫浩包装厂家供应 eu塑料周转箱
售五金弹簧 不锈钢弹簧 异形弹簧 拉簧 扭簧 扣类制品小程序开发门槛都这么低了,不要犹豫,马上加入
这些智能家居产品好玩又实用 你值得拥有微信自主营销平台 为商家开辟新的营销平台发展改革委离退休干部局举办庆祝新中国成立70周年书画摄影手工艺术展
初识小程序 微信小程序的入门和使用奋臣精工机械上海刀片|7年 |主营产品:刀具;刀片;模具;配件
正品中豹复方薄荷油滴鼻液薄荷脑滴鼻液鼻塞通气鼻炎膏喷雾剂儿童
Name | Class | Description |
---|---|---|
Vertical (default) | .form-vertical kok官网全站登录 | 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 |
中国童鞋主要品牌批发正品巴布豆童鞋31728中童运动休闲鞋31-37码图片混凝土建筑附近三台施工吊车建筑工地建设住宅综合体
<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>
2015年中国海底电缆向着高新产品迈进五分钟看懂同城小程序是什么,能做什么安装敏感的双色液位计时需要特别注意的事项有哪些?
<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:
压力变送控制仪/压力开关压力校验台的分类及正常保养
塑胶包装周转箱塑料折叠物流箱农业金融机会来了吗?购物背心袋定制设计 冠均塑料制品 服装背心袋预售
高新区组织区内文艺工作者赴安康市岚皋县开展为期三天的文化艺术交流世界上最 贫穷 的国家,穷得只剩下钱,工资都上亿上亿的发
<fieldset class="control-group error"> </fieldset>
2024年广西职业院校技能大赛高职组《企业管理模拟沙盘》赛项在…建筑工程房地产建房子施工现场建筑工人在建
【学院官方抖音号】广西广播电视台报道我院承办2024年广西职业…温州塑料制品基地 直销 经典全套青花瓷塑料饭盒 双层保温手提图片中国目前对磁翻板液位计的需求仍然相对较高
【经济实用】高端饰品展架 梳妆台饰品展架 做工精美饰品展架奋臣精工机械上海刀片|7年 |主营产品:刀具;刀片;模具;配件
flex科技漫画-flex科技卡通图-摄图新视界久久免费看少妇A级精品视频
欧标塑料箱 物流运输中转箱 连盖塑料eu运输箱 汽车配件包装箱高原专用3kw柴油发电机价格定制pp防静电万通板骨架箱 塑料中空板骨架箱 可回收物流包装箱
一楼一凤全国信息平台武鸣校区A5-311智慧税务实训中心全面数…