table合并单元格

合并行

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

<table>
<thead>
<tr>
<th>id</th>
<th>name</th>
<th>age</th>
<th>other</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td rowspan='3'>2</td>
<td>3</td>
<td>4</td>
</tr>
<tr>
<td>1</td>
<td>3</td>
<td>4</td>
</tr>
<tr>
<td>1</td>
<td>3</td>
<td>4</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
</tbody>
</table>

































id name age other
1 2 3 4
1 3 4
1 3 4
1 2 3 4

合并列

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

<table>
<thead>
<tr>
<th>id</th>
<th>name</th>
<th>age</th>
<th>other</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td colspan='2'>2</td>
<td>3</td>
</tr>
<tr>
<td>1</td>
<td colspan='2'>2</td>
<td>3</td>
</tr>
<tr>
<td>1</td>
<td colspan='2'>2</td>
<td>3</td>
</tr>
</tbody>
</table>


























id name age other
1 2 3
1 2 3
1 2 3
0%