按照老师的要求!自己用HTML写的简单的注册程序!望高手指教看有没有错误?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head >
<title></title>
<style type="text/css">
*{font-size:12px}
td{border:gray solid; border-width:0px 1px 1px 0px}
table{border:gray solid; border-width:1px 0px 0px 1px;}
.col1{ text-align:right}
#name,#password,#pwdConfirm{ width:120px}
#email,#emailConfirm{ width:200px}
#submit,#reset{width:80px; border:1px solid gray; }
#submit{margin-left:100px}
#reset{ margin-left:20px}
</style>
</head>
<body >
<form action="" method="post">
<table cellspacing="0">
<tr style="background:blue"><td colspan="2">必填信息</td></tr>
<tr><td class="col1">登陆名</td> <td ><input type="text"/ id="name"/>(只能用英文,数字,下划线)</td></tr>
<tr><td class="col1">密码</td><td><input type="password" id="password"/>(密码必须大于5位,区分大小写)</td></tr>
<tr><td class="col1">确认密码</td><td ><input type="password" id="pwdConfirm"/></td></tr>
<tr><td class="col1">邮件地址</td><td ><input type="text" id="email"/></td></tr>
<tr><td class="col1">确认邮件地址</td><td ><input type="text" id="emailConfirm"/></td></tr>
<tr><td colspan="2" ><input type="submit" value="提交" id="submit"/><input type="reset" value="重填" id="reset"/></td></tr>
</table>
</form>
</body>
</html>
|