摘要:<!DOCTYPE html> <html> <head> <title>table</title> <style type="text/css"> *{margin: 0px; padding: 0px;} table{border:
<!DOCTYPE html>
<html>
<head>
<title>table</title>
<style type="text/css">
*{margin: 0px; padding: 0px;}
table{border: 1px solid #ccc;border-collapse: collapse;}
tr td{height: 200px; border:1px solid #ccc;width: 100px; text-align: center;}
tr th{height: 50px; border:1px solid #ccc;width: 100px;}
</style>
</head>
<body>
<table>
<tr>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
<th>5</th>
<th>6</th>
</tr>
<tr>
<td colspan="6">合并列</td>
</tr>
<tr>
<td rowspan="2">合并行</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
</tr>
<tr>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
</tr>
</table>
</body>
</html>
批改老师:西门大官人批改时间:2019-02-24 09:34:48
老师总结:作业写的很好,最好能上传一下程序的运行效果图。