虚位以待(AD)
虚位以待(AD)
首页 > 网页特效 > HTML5 > 表单提交

表单提交
类别:HTML5   作者:码皇   来源:zhaoyangjian724的专栏     点击:

<!--表单提交--> <form action=& 39;__URL__ do_login& 39; method=& 39;post& 39; name="myForm"> <!---表单名字,程序提交给谁去处理--> <form name="regForm" action="regok html" met
<!--表单提交-->  
 <form action='
__URL__/do_login'
method='
post'
name="myForm"> <!---表单名字,程序提交给谁去处理--> <form name="regForm" action="regok.html" method="post"> name 表单名字 action 处理表单的程序 Method 提交表单的方式 <!doctype html><html lang="en"> <head> <meta charset="UTF-8"> <meta name="Generator" content="EditPlus®
"> <meta name="Author" content=""> <meta name="Keywords" content=""> <meta name="Description" content=""> <title>Document</title> </head> <body> <center> <h1>用户注册</h1> <hr> <!---表单名字,程序提交给谁去处理--> <form name="regForm" action="regok.html" method="post"> <table width="600" border="0" cellspacing="0" cellpadding="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="password" name="confirmpass"/></td> </tr> <tr> <td>电子邮箱:</td> <td><input type="text" name="email"/></td> </tr> <tr> <td>性别:</td> <td><input type="radio" name="gender" value="1" checked/>男 <input type="radio" name="gender" value="1"/>女</td> </tr> <tr> <td>学历:</td> <td><select name="education"> <option value="-1" selected>请选择</option> <option value="0">小学</option> <option value="1">初中</option> <option value="2">高中</option> <option value="3">大专</option> <option value="4">本科</option> <option value="5">硕士</option> <option value="6">博士</option> </select> </td> </tr> <tr> <td>爱好:</td> <td><input type="checkbox" name="favorite" value="read"/>读书</td> <td><input type="checkbox" name="favorite" value="music"/>音乐</td> <td><input type="checkbox" name="favorite" value="internet"/>上网</td> <td><input type="checkbox" name="favorite" value="shopping"/>购物</td> <td><input type="checkbox" name="favorite" value="read"/>电影</td> <td><input type="checkbox" name="favorite" value="read"/>其他</td> </tr> <tr> <td>上传头像</td> <td><input="file" name="上传文件"/></td> </tr> <tr> <td>服务协议:</td> <td> <textarea rows="10" cols="20"> 霸王条款: </textarea> </td> </tr> <tr> <td>是否接受:</td> <td><input type="checkbox" name="gender" checked/> </td> </tr> <tr> <td colspan="2" align="center"><input type=submit value="注册"> <td colspan="2" align="center"><input type=reset value="取消"> </td> </tr> </table> </form> </center> </body></html>
相关热词搜索: