返回表格设置 生成...登陆

表格设置 生成

邈看银河系2019-06-15 00:03:15187

<!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>


最新手记推荐

• 用composer安装thinkphp框架的步骤• 省市区接口说明• 用thinkphp,后台新增栏目• 管理员添加编辑删除• 管理员添加编辑删除

全部回复(0)我要回复

暂无评论~
  • 取消回复发送
  • php.cn