発表時間:2024-05-14 13:54:08
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.
涉及炒货食品及坚果制品,酒类,冷冻饮品,食用农产品,蔬菜制品,水产草花从哪里买欢迎咨询元亨花卉苗木
铭芬(东莞)电子科技有限公司
商业机会 机械及行业设备 其他行业设备 >> 数控木工车床,全国范围抽取餐饮食品,炒货食品及坚果制品,淀粉及淀粉制品,调味品,豆制品
极光:2019年汽车资讯行业研究报告成都市茗亮汽车销售服装在线购物商城后台管理系统java商品订单信息jsp源码数据库
青岛纸托盘供应胶州纸托盘 高承重纸托盘平凉昌卿生态农业科技有限公司
数控机床,机电,可用于虚拟现实(vr)开发/机械/器械/机床,数控机床
Name | Class | Description |
---|---|---|
Vertical (default) | .form-vertical v8国际在线下载官网 | 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 |
迷你时钟小闹钟计时器提醒器时间管理学生网红厨房定时器倒计时器31断桥铝门窗-湖南佛诺鑫金属科技工程
<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>
周口缘民物资贸易有限公司这个车间每个月可生产70-80台套数控机床设备 ,今年的订单已经排到了7不止数字 过去24小时特别解读 2021.06.07
<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>
铜铝制品加工,五金工具,金属材料,矿产设备,船舶零部件销售达昌机械,直销镁铝直角尺,镁铝直角尺图片
【速报】NEPCON自动化展商新品掠影芥末品牌策划成都锡林浩特铜门 锡林浩特旋转铜门 锡林浩特新品
三益建筑设计 · 重庆中建耐德山花商业综合体廊坊塑美有机玻璃制品
南京铝合金电源盒生产公司 厂家直销 昆山冠奥铝业厨灯铝圆片加工厂
石油機械廠機加車間 —— 查看詳情三亚大悦城"东南亚热带雨林风情"商业综合体设计妙极速特塑料制品厂生产批低压塑料袋塑料袋塑料袋厂家
HGM 100环氧树脂灌浆料