导航
display: table
border 边框cellpadding 单元格内边距cellspacing 单元格边距caption 标题标签 display: table-captiontr - table row 表格行标签 display: table-row
th - table header cell 表头标签 display: table-celltd - table data cell 单元格标签 display: table-cell
rowspan - 合并 n 行colspan - 合并 n 列align - left | right | center 对齐方式thead - table head 表格页眉标签 display: table-header-grouptfoot - table foot 表格页尾标签 display: table-footer-grouptbody - table body 表格主体标签 display: table-row-groupthead、tfoot、tbody 要写的意义:
thead -> tfoot -> tbody
tfoot 写在 thead 前面,也不会影响它们的显示顺序,thead 还是会在 tfoot 上面显示