3_表单练习.html
2015-06-01 16:07
369 查看
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>无标题文档</title> </head> <body> <table width="70%" align="center"> <tr> <td> <fieldset> <legend>域名注册</legend> <form> <table border="1" bordercolor="#000000" cellpadding="7" cellspacing="0" width="70%" align="center"> <tr> <th colspan="2">请填写域名信息(请您务必填写真实、有效和完整的域名注册信息)</th> </tr> <tr> <td>登陆帐号:</td> <td><input type="text" name="user" /></td> </tr> <tr> <td>密码:</td> <td><input type="password" name="psw" /></td> </tr> <tr> <td>性别:</td> <td> <input type="radio" name="sex" value="nan" id="man" /><label for="man">男</label> <input type="radio" name="sex" value="nv" id="woman" /><label for="woman">女</label> </td> </tr> <tr> <td>注册网址:</td> <td><input type="text" name="website" value="www." readonly="readonly" disabled="disabled" /></td> </tr> <tr> <td>注册网址后缀:</td> <td> <input type="checkbox" name="com" value="com" checked="checked" />com <input type="checkbox" name="cn" value="cn" />cn <input type="checkbox" name="net" value="net" />net <input type="checkbox" name="org" value="org" />org </td> </tr> <tr> <td>所属区域:</td> <td> <table> <tr> <td> <select name="国家"> <option value="none">--选择国家--</option> <option value="cn">中国</option> <option value="en">英国</option> <option value="usa">美国</option> </select> </td> <td> <select name="省份"> <option value="none">--选择省份--</option> <optgroup label="中国"> <option value="bj">北京</option> <option value="sh">上海</option> <option value="wc">武汉</option> </optgroup> <optgroup label="英国"> <option value="london">伦敦</option> <option value="Birmingham">伯明翰</option> <option value="Liverpool">利物浦</option> </optgroup> <optgroup label="美国"> <option value="New York"> 纽约</option> <option value="Los Angeles">洛杉矶</option> <option value="Chicago">芝加哥</option> </optgroup> </select> </td> </tr> </table> </td> </tr> <tr> <td colspan="2" align="center"><input type="submit" /><input type="reset" /></td> </tr> </table> </form> </fieldset> </td> </tr> </table> </body> </html>
相关文章推荐
- 2_表格.html
- 1_表格列的控制.html
- 使用正则表达式匹配嵌套Html标签
- HTML <frameset>不同frame之间传值
- php与html代码的若干转换
- failed: unacceptable content-type: text/html
- meta属性在HTML
- html 中a标签中href属性 加#号和不加#号的区别
- Hp自学整理html
- HTML基础
- HTML代码中的空格和空行
- html标签元素分类
- HTML中Div、span、label标签的区别
- html 标签记录
- HTML-合集
- HTML 表单(form) 使用详解
- HTML 常用标签
- html中重点注意事项
- HTML标签
- HTML