实验代码
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>任务二</title>
</head>
<body>
<table width="700" hight="500" border="3" align="center" cellspacing="0" bordercolor="#90b8ff" bgcolor="#ffc0cb" ce>
<tr>
<td >
<h1><center>员工信息登记表</center></h1>
<form >
用户登录名:<input type="text" value="wcz@163.com" size="25"><p class="">
真实姓名: <input type="text" value="王传智" size="25">(必填,只能输入汉字)<p>
真实年龄: <input type="text" value="24" size="25">(必填)<p>
出生日期: <input type="date" >(必填)<p>
电子邮箱: <input type="text" value="123456@126.com" size="25">(必填)<p>
身份证号: <input type="text" size="25">(必填,能够以数字、字母x结尾的短身份证号)<p>
手机号码: <input type="text" size="25">(必填)<p>
幸运色: <input type="color">(请选择你喜欢的颜色)<p>
<center><input name="提交" type="submit" value="提交" >
<input name="重置" type="reset" value="重置"></center>
</form>
</td>
</tr>
</table>
</body>
</html>
实验结果
2020/03/04