熟悉合并行 合并列

Original 2019-06-06 23:03:31 190
abstract:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>HTML中常用标签--表格(tabal)</title> <style type="text/css"> *{marg
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>HTML中常用标签--表格(tabal)</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}
	</style>
</head>
<body>
	<h1>表格</h1>
	<table>
		<tr>
			<th>1</th>
			<th>2</th>
			<th>3</th>
			<th>4</th>
			<th>5</th>
		</tr>
		<tr>
			<td colspan="5">合并列</td>
		</tr>
		<tr>
			<td rowspan="2">合并行 1</td>
			<td>2</td>
			<td rowspan="2">合并列</td>
			<td colspan="2">合并行</td>
			
		</tr>
		<tr>
			<td>2</td>
			<td>3</td>
			<td>4</td>
		</tr>
	</table>
</body>
</html>

Correcting teacher:查无此人Correction time:2019-06-10 09:27:23
Teacher's summary:完成的不错。刚接触编程,理解起来比较辛苦。要坚持,继续加油。

Release Notes

Popular Entries