table合并单元格 发表于 2019-03-08 | 分类于 HTML | 阅读次数: 合并行1234567891011121314151617181920212223242526272829303132333435<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 合并列12345678910111213141516171819202122232425262728<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 打赏 微信支付 支付宝