Table markup

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>

Table options

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

Example tables

1. Default table styles

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 @twitter

2. Striped table

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 @twitter

3. Bordered table

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 @twitter

4. Condensed table

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 @twitter

5. Combine them all!

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 @twitter
网络营销特点包括什么区别旅游网站策划书网站建设评判信息安全检查新闻,-1网络信息安全部电子商务 网络营销培训惠州网站建设武汉网络安全学院信息安全 研究所考研信息安全标准化技术委员会锦州做网站珠海营销型网站建设信息安全 实验 网站佛山做外贸网站的公司网络安全案例 ppt卫龙营销战略优秀网站设计北京展览馆 网络安全广州网站设计公司知名的网站建设西安网站推广宁夏网站设计河南省信息安全对抗赛中国国家网络安全谷中国国家网络安全谷信息安全ppt2015亚太信息安全峰会个人网络安全年度报告企业网络安全是什么厦门网站开发h5网站搭建无敌于世,谁主沉浮,看风华少年,都市纵横。出身普通家庭的陈少铭来到南方闯荡,好不容易成就一番事业,发生意外,他破产了。独自一人前往江边舒缓心情。眼看一辆飞驰的汽车就要装上一个孩子时,他奋不顾身地冲过去推开那个孩子,自己却被车撞了。当他醒来时,发现自己已经来到唐朝末年。在这里他即将开启一段神奇的人生旅程。现代大学生穷越到秦朝,成为大秦公子,开局就被奸人所陷害,被流放至偏僻穷困乡村。“海阔凭鱼跃,天高任鸟飞。”偏僻穷困乡村,也能发展为一个人人羡慕的世外桃源。带你看不一样的玉皇大帝 各类民间奇闻怪谈,收录民间诡异故事。离奇凄惨,毛骨耸然。本作品一章由一个或多个小故事组成。如有雷同,纯属巧合,敬请见谅。李新焰家住大福村,可家里一点也不大福大贵,穷得叮当响,父亲做投资失败,欠了全村人的债,母亲也因为意外落了残疾,腿脚不便,整个家只能靠李新焰种地支撑。      然而就在这一天,他在地里挖到了一件龙袍,从此帝王之运加持,命格改变。      村里也出现了新的风景线“让开,别挡朕的道!”      “放肆,不得忤逆朕的旨意!”      “婷婷,朕让你做妃子如何?”…… 明朝永乐年间,传出陈友谅藏宝地图。江湖各帮争抢,锦衣卫寻宝未果,浙江按察使周浩然一家惨遭灭门,宁波巨富肖伯庸被抄家,流亡海外的张士诚的后裔为复国组织力量,寻找宝藏下落。 本书有三个主人公: 周浩然遗孤周行健身负血海深仇,在苦难中成长,和生世未知的江雪同生死共患难,成为一生挚爱,正当情深似海时,发现自己最爱的女友的父亲竟是血海深仇的大仇人   肖伯庸长子肖宇是个逍遥快活的公子,被盗贼劫持,表妹秀秀对他情愫暗生,却是落花有意,流水无情。明教教主女儿马梦瑶万里寻母,随郑和下西洋,与肖宇经历生死不渝的爱情,终成正果。家资被抄,使肖宇性格骤变,铲锄奸佞,匡扶江山,对抗赵策,从快乐公子成长为经邦纬国之才。 张士诚的后裔赵策流亡海外,武功卓绝足智多谋,一统江湖各派,组织各方力量对抗朝廷,被云南沐府千金沐颖倾心爱慕,和毒教教主阿尼美的情感纠葛,从英雄到狗熊的蜕变,权欲对人性的扭曲,一生只为复国,却好梦成空......年轻一代高人气医生,被人陷害出了重大医疗事故,无奈只能回到乡下当了一名默默无闻的小村医! 不过,是金子总会发光的! 得了魔医老仙传承,一身医术出神入化,从小山村开始,名震天下!该本是本系列第一本书,讲述了另一个宇宙王朝与银河系的故事。星战、掠夺、密谋......广阔宇宙中有数以万计的文明,最终存活下来的尽是渣滓。我们最终的目的是什么?何晴云无意间看到一段代码,那是代表死亡与湮灭的鲸歌,是鲸落前万物最后的哀鸣......【迪化】+【无敌】+【搞笑】,叶凡穿越到修仙界,经过千辛万苦方才踏入修仙一道,本以为自己只是个刚刚踏入修行的炼气境小修士,殊不知他早已无敌,外面的修士见了他全都尊称一声前辈.......叶凡表示有些懵逼,原来练气境也可以无敌于世间.........
珠海品牌网站建设 大型手机网站制作 信息安全体检要求 中国网络安全等级保护 网络安全技术与实训(第2版) 网络营销渠道的功能是 网站建设深圳 网络安全国标 万维网站 信息安全 研究所考研信息安全标准化技术委员会 中国网络安全等级保护 网站换程序 网站建设上市公司 全网营销软件 山东网站优化 黄国外网站 响应国家网络安全 网络大学电力营销学院 国内顶级网络安全公司排名 政府网站 欣赏 宽带发展营销措施 苏州做网站 珠海品牌网站建设 福州网站设计 信息安全安全号 引导营销 营销企划案 和平网站建设 2016信息安全培训 建立网站的方案 网络安全技术与实训(第2版) 江苏网站设计公司 营销型美工 网络整合营销公司招聘 网站建设团队 做互联网营销执行 信息安全测评机构资质 h5网站搭建 做谷歌网站 公司网络信息安全,-1