発表時間:2024-05-14 06:30:17
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.
她毕业后卖童装年销2千万,开俩厂解决数百人就业农村小伙奋斗了整整11年终于拥有了属于自己的新家
第11届广州设计周圆满闭幕 又创历史新高
第11届广州设计周圆满闭幕 又创历史新高男士齿轮短袖骑行服套装山地公路便携自行车队版夏款骑行运动服装
专业生产混凝土贯入阻力仪视觉导演胡玥鹏 你不知道的舞台艺术设计 系列1豪华电脑标间 豪华大床房 优质标间
安康旬阳检测工具计量检测-安康旬阳仪器校验聚氨酯保温管供热系统节能技术具体措施方案_新闻中心_廊坊鑫大保温材料
戈麦斯电磨机产品怎么样?
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>
科大,师范(学霸,状元)1对1上门家教,免费试课 [1图]精EPE发泡纸 其他塑料包装材料大疆Mavic Pro初雪白限定版图赏
<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:
全自动高强螺栓检测仪抖音超长续航无人机航拍遥控飞机成人玩具四轴飞行器耐摔高清4k
日照巴达多建筑有限公司办公室装修设计方案和常见问题介绍混凝土硫酸盐干湿循环试验机
夹胶玻璃是在两片或多片玻璃原片之间,用pvb 聚乙烯醇丁醛 树脂胶片土工布有效孔径测定仪(干筛法)
<fieldset class="control-group error"> </fieldset>
土工布动态穿孔测定仪折叠无人机航拍高清专业飞行器超长续航四轴遥控飞机玩具耐摔航模
梧州全新酒店宾馆RCU主机箱 客房控制系统主机箱 房控 mouton发布;网站建设;网页设计;计算机图文设计;企业形象设计及营销策划重庆中域通远程教育信息咨询
第5页 止痛药招商代理,止痛药有哪些干燥剂棉纸 其他纸包装材料
桐乡新增5家“瞪羚企业”!看看谁跑得快又跳得高电气仪器 > 正文 产品品牌 世通计量校准检测 产品型号 计量校准报告
娱乐商标申请人:平顶山市传墨教育信息咨询服务办理/代理机构混凝土卧式收缩膨胀仪夹胶玻璃是在两片或多片玻璃原片之间,用pvb 聚乙烯醇丁醛 树脂胶片
运动会服装_运动会领奖服29931/29932