form和table制作注册表单
2012-03-12 21:10
155 查看
//form和table制作的提交服务器表单
<!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=UTF-8">
<title>Insert title here</title>
</head>
<body>
<fieldset>
<legend>注 册</legend >
<form action="http://192.168.1.100:9999" method="post">
<table border="1" width="50%" height="300" align="center" cellspacing="0">
<tr>
<td>用户名:</td>
<td><input type="text" name="username"></td>
</tr>
<tr>
<td>密 码:</td>
<td><input type="password" name="password"></td>
</tr>
<tr>
<td>性 别:</td>
<td>
<input type="radio" name="gender" value="male" checked="checked">男
<input type="radio" name="gender" value="female">女
</td>
</tr>
<tr>
<td>兴 趣:</td>
<td>
<input type="checkbox" name="interest" value="basketball" checked="checked">篮球
<input type="checkbox" name="interest" value="game">游戏
<input type="checkbox" name="interest" value="net">上网
</td>
</tr>
<tr>
<td>城 市:</td>
<td>
<select name="city">
<option value="">-请选着城市-</option>
<option value="bj">北京</option>
<option value="hn">河南</option>
<option value="zmd">驻马店</option>
</select>
</td>
</tr>
<tr>
<td>自我介绍</td>
<td>
<textarea rows="5" cols="60"></textarea>
</td>
</tr>
<tr>
<td>头 像:</td>
<td>
<input type="file" name="photo">
</td>
</tr>
<tr align="center">
<td colspan="2">
<input type="submit" value="注册">
<input type="reset" value="重填">
</td>
</tr>
</table>
</form>
</fieldset>
</body>
</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=UTF-8">
<title>Insert title here</title>
</head>
<body>
<fieldset>
<legend>注 册</legend >
<form action="http://192.168.1.100:9999" method="post">
<table border="1" width="50%" height="300" align="center" cellspacing="0">
<tr>
<td>用户名:</td>
<td><input type="text" name="username"></td>
</tr>
<tr>
<td>密 码:</td>
<td><input type="password" name="password"></td>
</tr>
<tr>
<td>性 别:</td>
<td>
<input type="radio" name="gender" value="male" checked="checked">男
<input type="radio" name="gender" value="female">女
</td>
</tr>
<tr>
<td>兴 趣:</td>
<td>
<input type="checkbox" name="interest" value="basketball" checked="checked">篮球
<input type="checkbox" name="interest" value="game">游戏
<input type="checkbox" name="interest" value="net">上网
</td>
</tr>
<tr>
<td>城 市:</td>
<td>
<select name="city">
<option value="">-请选着城市-</option>
<option value="bj">北京</option>
<option value="hn">河南</option>
<option value="zmd">驻马店</option>
</select>
</td>
</tr>
<tr>
<td>自我介绍</td>
<td>
<textarea rows="5" cols="60"></textarea>
</td>
</tr>
<tr>
<td>头 像:</td>
<td>
<input type="file" name="photo">
</td>
</tr>
<tr align="center">
<td colspan="2">
<input type="submit" value="注册">
<input type="reset" value="重填">
</td>
</tr>
</table>
</form>
</fieldset>
</body>
</html>
相关文章推荐
- table表格加form表单实例及注册页面的搭建
- 还不错的Table样式和form表单样式
- ajax验证用户名是否被注册 ; ajax提交form表单
- easyUI 运用窗口和form表单制作导出功能
- django学习(一) form表单编写简单的注册登录页
- js制作带有遮罩弹出层实现登录注册表单特效代码分享
- 记录手动处理form表单中对table表格中的行数据的收集
- 表单提交中记得form表单放到table外面
- 模拟QQ注册练习HTML5的表单form
- CSS fieldset制作表单,抛弃Table
- CSS之form表单与table表格
- 表单提交中记得form表单放到table外面
- PHP PEAR/HTML/QuickForm实现用户注册表单界面
- HTML table、form表单标签的介绍
- HTML table、form表单标签的介绍
- DWR util.js 整理(DWR 处理各种form表单Select/option,table等,List,Bean
- form表单的制作
- form注册表单圆角 demo
- CSS3制作分步注册表单
- 仅一个form表单 js实现注册信息依次填写提交功能