标签:3_表单练习.html
<!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>
标签:3_表单练习.html
原文地址:http://1154179272.blog.51cto.com/10217799/1657154