制作效果如下所示:
主要实现步骤有:
制作表格;
合并单元格:colspan 是合并列,rowspan是合并行
表单的基本属性:form,input
代码如下:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
table {
text-align: center;
}
table,
td {
border: 1.5px solid black;
width: 100px;
height: 30px;
}
input {
width: 95%;
height: 100%;
}
.input1 {
width: 98.5%;
}
.input2 {
width: 98%;
}
.input3 {
width: 98%;
}
</style>
</head>
<body>
<form>
<table>
<caption><b>个人简历</b></caption>
<tr>
<td>姓名</td>
<td>