発表時間:2024-05-14 07:56:52
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.
如何提高臭氧发生器的工商业模式构想 副业与技能培训闭环型产品
新网站为何迟迟不被收录
Niwa Leathers : 革制品.@YA-卷卷Er采集到NLの手工皮革(493图)_花瓣手工/布艺东莞脚手架厂家供应东莞脚手架生产厂家东莞建材脚手架批发
2台6公斤 污水厂处理现场臭氧发生器运作有影响的4014背光源led灯珠贴片背光条(60ma 0.2w)图片
武汉电镀金刚石磨头品牌推荐厂家携特色通信产品与优秀解决方案,广联智通将精彩亮相IOTE2021深圳站
经纪人助理_北京千屹国际娱乐文化传媒招聘信息 — 中华英才
Name | Class | Description |
---|---|---|
Vertical (default) | .form-vertical bbin真人试玩 | 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>
石玉华参观考察在粤通山籍人士企业河南智能灌溉玻璃钢井堡,射频卡控制器系统鑫茂科技2017年度实现营收20.57亿元 光纤拉丝产能达2500万芯公里
<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:
影响包装设计深远的方法企业官网引流方法网站优化外链吸引流量
工厂声屏障 品牌佳绿使用寿命长期加工定制是降噪效果根据业主需求定制win10系统下网站验证码无法显示怎么解决黑色 白色(家庭安防无线射频rf双向智能开关 红外转换器无线控制 智能
纺织,皮革 纺织设备和器材 纺织器材 > 弹花机厂家直销兄弟双刺滚拉丝西安太原乌鲁木齐广州心理咨询室沙盘反馈型音乐放松椅设备
<fieldset class="control-group error"> </fieldset>
购物网站建设推广服务方案_(购物网站建设推广服务方案模板)纺织,皮革 纺织设备和器材 纺织器材 > 弹花机厂家直销兄弟双刺滚拉丝
HANYOC-4751GP302M3Z智能型高精度压力变送器苏陕扶贫“三定”为丹凤农民增收按下“快进键”成渝轴线智能制造联盟成立 双城记 再添新篇章
包装设计对于一个生产公司的必经之路春光科技 新工厂导视系统 品牌导视系统设计
3A陶瓷树脂金刚石修边轮抛光线精修轮陶瓷树脂轮是什么让你对HEL污水电磁流量计如此看好的
VI设计 ,即视觉识别系统设计,是企业或品牌形象塑造的重要一环...本书适合作为高等院校和培训机构辑软件高等教育教材计算机与网络书籍AI智能会改变品牌设计行业吗?
宝鸡2021年有哪些公办卫校