做一个表单如图
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/b9c3711b0743753f93a19f4747b896f8.png)
代码:
<!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>
</head>
<body>
<h4>青春不常在,抓紧谈恋爱</h4>
<table width="800" >
<tr>
<td>姓名</td>
<td>
<input type="radio" name="sex" id="nan" checked="checked"> <label for="nan"> <img src="images/man.png" > 男</label>
<input type="radio" name="sex" id="nv"> <label for="nv"> <img src="images/woman.png"> 女</label> <br>
</td