[HTML] 做个空壳网页练手(菜鸡的自我信息完善
这个是对昨天学习的自我检测,勉勉强强能看叭(#^-^#)
效果图
代码
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>information</title>
<style>
body{
background-image: url("https://i0.hdslb.com/bfs/article/d55379889344ae8a88335ecac6553ed78ae7bce8.jpg@942w_531h_progressive.webp");
background-size : cover;
}
</style>
</head>
<body>
<div align="center">
<h1><font color="skyblue" > 信息完善</font></h1>
<form action="/login.jsp" method="GET">
<table width="280px">
<tr>
<td width="80px" align="right"><font color="red">*</font>用户名 :</td>
<td colspan="4">
<input type="text" name="username">
</td>
</tr>
<tr>
<td width="80px" align="right"><font color="red">*</font>密码 :</td>
<td colspan="4">
<input type="password" name="password" placeholder="大于六位,包含字母数字">
</td>
</tr>
<tr>
<td width="100px" align="right"><font color="red">*</font>确认密码 :</td>
<td colspan="4">
<input type="password" name="surepassword" placeholder="请再次输入密码">
</td>
</tr>
<tr>
<td width="80px" align="right"><font color="red">*</font>邮箱 :</td>
<td colspan="4">
<input type="text" name="email">
</td>
</tr>
<tr>
<td width="80px" align="right"><font color="red">*</font>真实姓名 :</td>
<td colspan="4">
<input type="text" name="name">
</td>
</tr>
<tr>
<td width="100px" align="right">性别 :</td>
<td >
男<input type="radio" name="sex" value="male" >
</td>
<td >
女<input type="radio" name="sex" value="female" >
</td>
</tr>
<tr>
<td align="right" width="100px">生日 :</td>
<td>
<select width>
<option hidden>年</option>
<option value="1999">1999</option>
<option value="2000">2000</option>
<option value="2001">2001</option>
<option value="2002">2002</option>
<option value="2003">2003</option>
</select>
</td>
<td>
<select>
<option hidden>月</option>
<option value="1">1</option>
<option value="3">3</option>
<option value="5">5</option>
<option value="7">7</option>
<option value="12">12</option>
</select>
</td>
<td>
<select>
<option hidden>日</option>
<option value="5">5</option>
<option value="10">10</option>
<option value="15">15</option>
<option value="20">20</option>
<option value="25">25</option>
</select>
</td>
</tr>
<tr>
<td width="80px" align="right"><font color="red">*</font>手机号 :</td>
<td colspan="4">
<input type="text" name="phone">
</td>
</tr>
<tr>
<td width="80px" align="right">居住地</td>
<td>
<select>
<option hidden>星系</option>
<option value="银河系">银河系</option>
<option value="坐标系">坐标系</option>
<option value="恶魔系">恶魔系</option>
</select>
</td>
<td>
<select>
<option hidden>星球</option>
<option value="地球">地球</option>
<option value="篮球">篮球</option>
<option value="赛博坦星球">赛博坦</option>
</select>
</td>
<td>
<select>
<option hidden>区域</option>
<option value="南美洲">南美洲</option>
<option value="太平洋">太平洋</option>
<option value="南极">南极</option>
</select>
</td>
</tr>
<tr>
<td width="80px" align="right"><font color="red">*</font>QQ :</td>
<td colspan="4">
<input type="text" name="QQ">
</td>
</tr>
<tr>
<td></td>
<td colspan="4">
<a href="https://im.qq.com/"><font color="black">去设置我的QQ在线状态</font></a>
</td>
</tr>
</table>
<input type="submit" value="提交">
</form>
</div>
<div align="right">
<a href="https://blog.csdn.net/qq_39391544">
<img src="https://avatar.csdnimg.cn/E/2/1/1_qq_39391544_1624348562.jpg" alt="">
</a>
</div>
</body>
</html>
本文来自博客园,作者:泥烟,CSDN同名, 转载请注明原文链接:https://www.cnblogs.com/Knight02/p/15799165.html