-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreg.html
36 lines (32 loc) · 2.11 KB
/
reg.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" content="kangkang,kangjian">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>注册页面</title>
<link rel="stylesheet" href="css/reg.css" type="text/css">
</head>
<body>
<table border="0" cellpadding="5px">
<tr><td><label for="uname">用户名 : </label></td><td><input type="text" name="uname" id="uname" placeholder="请输入用户名"></td></tr>
<tr><td><label for="password">密码 : </label></td><td><input type="text" name="password" id="password" placeholder="请输入用户名"></td></tr>
<tr><td><label>性别: </label></td><td> <input type="radio" name="sex" checked>boy <input type="radio" name="sex">girl</td></tr>
<tr><td><label for="birth">生日:</label></td><td><input type="date" name="birth" id="birth"></td></tr>
<tr><td><label for="email">邮箱:</label></td><td><input type="email" id="email" placeholder="请输入邮箱"></td></tr>
<tr><td><label>兴趣:</label></td><td><input type="checkbox" name="favorite">篮球<input type="checkbox" name="favorite">足球<input type="checkbox" name="favorite" checked>羽毛球<input type="checkbox" name="favorite">排球
<tr><td valign="top"><label for="intro">自我介绍:</label></td><td><textarea name="intro" id="intro" placeholder="简单介绍一下自己吧~" rows="5" cols="30"> </textarea></td></tr>
<tr><td><label for="edu">学历:</label></td><td><select name="edu" id="edu" ><option>小学</option><option>初中</option><option>高中</option><option selected>大学</option><option>研究生</option></select></td></tr>
</table>
<button onclick="reg_in()">注册</button>
<script>
function reg_in() {
alert("注册成功")
}
</script>
<script>
function log_in() {
alert("注册成功!")
}
</script>
</body>
</html>