1.表首样式
<thead align="center或left或right" bgcolor="颜色" valign="top或middle或bottom">
一般写于<table>标签中的开头

2.设置主体样式
<tbody align="center或left或right" bgcolor="颜色" valign="top或middle或bottom">
一般写于<thead>标签后
3.设置表尾样式
<tfoot align="center或left或right" bgcolor="颜色" valign="top或middle或bottom">

注:
- 使用
<thead>,<tbody>和<tfoot>其中一个就必须全用,且顺序不能动 - 当打印一份很长的表格时,
<thead>和<tfoot>可以打印在每张页面上 <thead>内必须又有<tr>标签
1492

被折叠的 条评论
为什么被折叠?



