<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
*{margin: 0;padding: 0;}
#div1{width: 500px;height: 300px;background-color: white;position: absolute;float: left;}
#div2{width: 250px;height: 25px;background-color: green;position: relative;float: left;}
#div3{width: 250px;height: 25px;background-color: white;position: relative;float: left;}
</style>
</head>
<body>
<div id="div1">
<font style="color: green;font-size: large;">小a陪诊   </font>
<a href="www.baidu.com" style="color: greenyellow;">首页|</a>
<a href="www.baidu.com" style="color: greenyellow;">用户注册</a>
</div>
<br />
<div id="div2">
<font style="font-size: large;color: white;">登录</font>
</div>
<br />
<br />
<form action="" method="post">
<div id="div3">
<font>用户名</font>
<input type="text" value="" name="user_name" placeholder="请输入用户名"/></div>
<br />
<br />
<br />
<div id="div3">
<font>密码</font>
<input type="text" name="password" id="password" value="" placeholder="请输入密码"/></div>
<br />
<br />
<br />
<div id="div3">
<font>验证码</font>
<input type="text" name="" id="" value="" placeholder="请输入验证码"/></div>
<br />
<br />
<br />
<div id="div3">
<input type="submit" name="" id="" value="登录" />
</div>
</form>
</body>
</html>
QQ截图20190515214931.png