cssuperman 2014-12-16
只显示上边框 <table frame=above>
只显示下边框 <table frame=below>
只显示左、右边框 <table frame=vsides>
只显示上、下边框 <table frame=hsides>
只显示左边框 <table frame=lhs>
只显示右边框 <table frame=rhs>
不显示任何边框 <table frame=void>
<table rules=cols cellspacing=0 align=left> 可以隐藏横向的分隔线
<table rules=rows cellspacing=0 align=right>可以隐藏纵向的分隔线
<table rules=none cellspacing=0 align=center>可以隐藏横向和纵向的分隔线
<table id="table1" style="width: 50%" rules=rows cellspacing=0 align=left>
<tr><th>Name</th><th>Sex</th><th>Age</th></tr>
<tr><th>a</th><th>a</th><th>a</th></tr>
<tr><th>a</th><th>a</th><th>a</th></tr>
<tr><th>a</th><th>a</th><th>a</th></tr>
<tr><th>a</th><th>a</th><th>a</th></tr>
</table> 表格的现在还是较为常用的一种标签,但不是用来布局,常见处理、显示表格式数据。在HTML网页中,要想创建表格,就需要使用表格相关的标签。<table> <tr> <td>单元格内的文字</td> ...