表格设置 生成

Original 2019-06-15 00:03:15 188
abstract:<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>html课程学习第五课-表格的学习应用方法</title> <link rel="shortcut icon" type="image/X-icon&quo

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>html课程学习第五课-表格的学习应用方法</title>

<link rel="shortcut icon" type="image/X-icon" href="image/logo2.png">

<link rel="stylesheet" type="text/css" href="css/indexp.css">

<style type="text/css">

table{height: 100px;border: 1px solid #ccc;border-collapse: collapse;}

    tr td{height: 100px;border: 1px solid #ccc;width: 100px;}

tr th{height: 100px;border: 1px solid #ccc;width: 100px;}

</style>

</head>

<body>

<table>


<tr>

<th>1</th>

<th>2</th>

<th>3</th>

<th>4</th>

</tr>

<tr>

<td colspan="4">合并列</td>

</tr>

    <tr>

<td rowspan="3">合并行</td>

<td>2</td>

<td>3</td>

<td>4</td>

</tr>

<tr>

<td>2</td>

<td>3</td>

<td>4</td>

</tr>

<tr>

<td>2</td>

<td>3</td>

<td>4</td>

</tr>





</table>





</body>

</html>


Release Notes

Popular Entries