⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ch05.2.html

📁 教学辅助考试系统主要是针对高校师生作为使用对象而开发的。本论文介绍了试题库系统的特性、JSP的相关技术及本程序的结构分析和具体功能的实现。作为一个典型的信息管理系统
💻 HTML
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--/*
body,td,th {
	color: #0000FF;
}
body {
	background-color: #CCCCCC;
}
.style1 {font-family: "华文彩云", "隶书"}
-->
</style></head>
<script language="Javascript">
function isok(theform)
{
 if((theform.username.value=="")||(theform.name.value==""))
    {
     alert("用户名或姓名不能为空!");
     return false;
    }

 if((theform.userpassword1.value!=theform.userpassword2.value)||(theform.userpassword1.value=="")||(theform.userpassword2.value==""))
    {
     alert("密码不正确,请重新输入!");     
     theform.userpassword1.focus();
     return (false);
    }
if ((theform.singlechoic.value=="")||(theform.year.value=="")||(theform.month.value=="")||(theform.day.value=="")||(theform.position.value=="")||(theform.jobsite.value=="")||(theform.address=="")||(theform.tel.value=="")||(theform.email.value==""))
{
     alert("请填充完整!");     
     return (false);
    }
return true;  
}
</script>
<body bgcolor="lightblue">
<h1 align="center" class="style1">用户个人信息</h1>
<form method="post" action="login.jsp" onsubmit="return isok(this)">
<hr>
<table width="504" height="40" border="1" align="center" cellpadding="5" cellspacing="1">
  <tr>
    <td width="124" height="40">      <h3 align="right">用户名:</h3></td><td width="351" height="40">
      
        <div align="left">
          <input name="username" type="text" size="20" maxlength="40">
        </div>
     </td>
  </tr>
  <tr>
    <td height="40"><h3 align="right">姓名: </h3></td><td height="40">
      <div align="left">
        <input name="name" type="text" size="20" maxlength="40">
      </div></td>
  </tr>
  <tr>
    <td height="40">      <h3 align="right">密码:</h3></td><td height="40">
      <div align="left">
        <input name="userpassword1" type="text" size="20" maxlength="20">
      </div></td>
  </tr>
  <tr>
    <td height="40">      <h3 align="right"> 密码确认: </h3></td><td height="40">
      <div align="left">
        <input name="userpassword2" type="text" size="20" maxlength="20">
      </div></td>
  </tr>
  <tr>
    <td height="40">      <h3 align="right">性别:</h3></td><td height="40"> 
      
        <div align="left">
          <input type="radio" name="singlechoic" value="男">
        <input type="radio" name="singlechoic" value="女">
        </div>
     </td>
  </tr>
  <tr>
    <td height="40">      <h3 align="right">出生年月: </h3></td><td height="40"> 
      
        <div align="left">
          <input name="year" type="text" size="8" maxlength="4">
        <input name="month" type="text" size="8" maxlength="4">
        <input name="day" type="text" size="8" maxlength="4">
        </div>
     </td>
  </tr>
  <tr>
    <td height="40">      <h3 align="right">职务:</h3></td><td height="40"> 
      <input name="position" type="text" size="50" maxlength="100">
     </td>
  </tr>
  <tr>
    <td height="40">      <h3 align="right">工作单位: </h3></td><td height="40"><input name="jobsite" type="text" size="50" maxlength="100"></td>
  </tr>
  <tr>
    <td height="40">      <h3 align="right">通信地址: </h3></td><td height="40"><input name="address" type="text" size="50" maxlength="100"></td>
  </tr>
  <tr>
    <td height="40">      <h3 align="right">联系方式: </h3></td><td height="40"><input name="tel" type="text" size="50" maxlength="100"></td>
  </tr>
  <tr>
    <td height="40">      <h3 align="right">邮件地址: </h3></td><td height="40"><input name="email" type="text" size="50" maxlength="100"></td>
  </tr>
</table>
 
  <div align="center">
    <input type="submit" name="Submit" value="提交">
      
  <input type="reset" name="Submit" value="重置">
  </div>
</form>
<p>&nbsp;</p>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -