考试html代码

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
.style2 {color: #0066FF}
.style3 {
 color: #6699FF;
 font-size: 16px;
 font-weight: bold;
}
-->
</style>
</head>

<body>
 <form name="liu" action="#" method="post">
 
 
             
       <table width="1197">
    <tr>
    <td width="516"><hr align="center" color="#3300FF"/></td>
     <td width="109"><div align="center" class="style3">用户注册</div></td>
   <td width="556"><hr align="center" color="#3300FF" /></td>
    </tr>
   </table>
        <div align="center"></div>
        <table width="1196" height="36" border="1">
          <tr>
            <td height="30"><span class="style2">用户基本信息</span></td>
          </tr>
        </table>
      
        <table width="1197" height="489" border="1">
            
 
  <tr>
    <td width="175" height="48"><div align="center">真实姓名</div></td>
    <td width="425">
      <input name="textfield" type="text" maxlength="16">
  
    </td>
    <td width="575" rowspan="5" bgcolor="#FF00FF"><p align="center"> “传真”可选择填写,其余带有</p>
      <p align="center">“*”号内容必须填写。电子邮箱</p>
    <p align="center">必须符合电子邮址格式(例如***@***.com)。</p>
    <p align="center">登陆名长度最长不能超过16位;密码</p>
    <p align="center">最短不能超过6位;密码确认必须和密码</p>
    <p align="center">相同。</p></td>
  </tr>
  <tr>
    <td height="54"><div align="center">登录名</div></td>
    <td>
      <input name="textfield" type="text" maxlength="16">
  
    </td>
  </tr>
  <tr>
    <td height="48"><div align="center">密码</div></td>
    <td>
      <input name="textfield" type="password" maxlength="16">
  
    </td>
  </tr>
  <tr>
    <td height="38"><div align="center">确认密码</div></td>
    <td>
      <input name="textfield" type="password" maxlength="16">
  
   </td>
  </tr>
  <tr>
    <td height="35"><div align="center">联系电话</div></td>
    <td>
      <input name="textfield" type="text" maxlength="16">
  
    </td>
  </tr>
  <tr>
    <td height="52"><div align="center">电子邮箱</div></td>
    <td>
      <input name="textfield" type="text" maxlength="16">
    </td>
    <td rowspan="5" bgcolor="#999999">&nbsp;</td>
  </tr>
  <tr>
    <td><div align="center">地区</div></td>
    <td>
      <select name="select">
        <option>长沙</option>
        <option>北京</option>
        <option>上海</option>
        <option>深圳</option>
        <option>四川</option>
        <option>天津</option>
        <option>香港</option>
      </select>
    </td>
  </tr>
  <tr>
    <td height="39"><div align="center">性别</div></td>
    <td>
      <input name="radiobutton" type="radio" value="radiobutton" checked>
男  
<input type="radio" name="radiobutton" value="radiobutton">

    </td>
  </tr>
  <tr>
    <td height="42"><div align="center">联系地址</div></td>
    <td>
      <input name="textfield" type="text" maxlength="16">
    </td>
  </tr>
  <tr>
    <td height="56"><div align="center">传真</div></td>
    <td>
      <input name="textfield" type="text" maxlength="16">
    </td>
  </tr>
</table>
 <table width="1196">
 <tr>
   <td width="1188"><hr color="#3300FF"/></td>
 </tr>
</table>
   <p align="center">
<input type="submit" value="注册" />&nbsp;
<input type="reset" value="重置" />
</p>
 </form>
</body>
</html>

posted @ 2010-12-21 22:50  刘竹青  阅读(342)  评论(0编辑  收藏  举报