発表時間:2024-05-14 00:57:59
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.
有哪些图片转文字免费版手机软件 这些软件很好用小物件中有大学问 ,别墅装修设计中各种门的五金件选择
锦绣园林移动办公平台
2022年3月30日,b2c跨境电商公司兰亭集势(litb.【电缆标志桩电缆标志桩定制电缆标志桩加工电缆标志桩图片】-
扬州16公里文昌路新路灯 高大上河南同凱電子科技有限公司城市规划馆沉浸式数字沙盘
东莞市皮特钟表有限公司7D四川巴中市西部国际欢乐城
不锈钢虾线刀开虾背刀具木柄开生蚝刀虾切刀牡蛎剥虾刀厨房工具
Name | Class | Description |
---|---|---|
Vertical (default) | .form-vertical 80体育官方网站 | 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 |
如何快速进行展会布置,展台搭建?双层共挤流延缠绕机组pack_包装机械栏目
<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>
国家体育总局人力资源开发中心优秀的别墅装修公司 ,它的泥工施工是怎样进行的呢?现代简约风格室内装修效果图-嘉禾私人展厅会所450平米
<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>
小霸龙卖爆上海滩的背后 三年亏7亿的水产一哥丨智氪庆阳道路标牌制作厂指示牌加工武威反光标牌专业制作交通标牌制作
双层共挤流延缠绕机组pack_包装机械栏目遵义茅台酒展厅装修,烟酒食品展厅布置金刚石绳锯机具有哪些优势呢 ?
本厂为生产弯木制品。加工和涂胶工具 。制造吉他和弦乐器。精益生产 精益生产、精益质量 、精益研发 、精益物流
上海视频会场布置,腾讯视频活动执行扬州市捷诚照明设备厂 主营 道路灯 太阳能 沙岩
太仓粮食银行软件-农林畜渔-软件产品网佛山斯坦福机电设备公司管理变革庆阳道路标牌制作厂指示牌加工武威反光标牌专业制作交通标牌制作
石材切割机厂家如何扩大大市场呢 ?