頁面代碼
自己照著寫的,方便大家。驗(yàn)證碼那塊省略了~
<!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>強(qiáng)</em> </label> </div>???? ????<div?style="margin-bottom:20px"> <label> <span>確認(rèn)密碼:</span> <input?type="password"?class="text"disabled=""/> </label> <p?class="msg"> <i?class="ati"></i>請?jiān)佥斎胍淮? </p> </div>??? ????<div><input?class="submitBtn?btn"?type="submit"?value="同意協(xié)議注冊"?/></div>???? </form> </body> </html>