页面代码
自己照着写的,方便大家。验证码那块省略了~
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>注册页面</title> <link href="css/style.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="js/main.js"></script> </head> <body> <form> <div> <label> <span> 会员名:</span> <input type="text" class="text"/> </label> <p class="msg"> <i class="ati"></i>5-25个字符,一个汉字为两个字符,推荐使用中文会员名 </p> </div> <div> <label> <span></span> <b id="count">0个字符</b> </label> </div> <div> <label> <span>登录密码:</span> <input type="password" class="text"/> </label> <p class="msg"> <i class="err"></i>5-25个字符,一个汉字为两个字符,推荐使用中文会员名 </p> </div> <div style="margin:3px 0 10px 0"> <label> <span></span> <em class="active">弱</em><em>中</em><em>强</em> </label> </div> <div style="margin-bottom:20px"> <label> <span>确认密码:</span> <input type="password" class="text"disabled=""/> </label> <p class="msg"> <i class="ati"></i>请再输入一次 </p> </div> <div><input class="submitBtn btn" type="submit" value="同意协议注册" /></div> </form> </body> </html>