注册表代码

<!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=utf-8" />
<title></title>
</head>

<body style="font-family:'华文行楷'">
    <form method="get" action="http://www.baidu.com">
        <table width="400" border="1">
            <tr>
                <td>用户名:</td>
                <td>
                    <input type="text" name="userid" placeholder="请输入用户名"/>
                </td>
            <tr>
                <td>密码:</td>
                <td>
                    <input type="password" name="pwd" value="" placeholder="请输入密码"/>
                </td>
            </tr>
            
            <tr>
                <td>请输入验证码:</td>
                <td>
                    <input type="text" name="satid" value="" placeholder="验证码"/>
                    <input type="image" src="QQ图片20161221101251.gif"/>
                </td>
            <tr>
                <td>性别:</td>
                <td>
                    <input id="r1" type="radio" name="sex" value="1"/>
                    <label for="r1">男</label>
                    <input id="r2" type="radio" name="sex" value="0"/>
                    <label for="r2">女</label>
                </td>
            </tr>
            <tr>        
                <td>爱好:</td>
                <td>
                    <input id="buy" name="buy" type="checkbox" value="1"/>
                    <label for="buy">网购</label>
                    <input id="net" name="net" type="checkbox" value="1"/>
                    <label for="net">打球</label>
                    <input id="com" name="com" type="checkbox" value="1"/>
                    <label for="com">旅游</label>
                </td>
            <tr>
                <td>特长:</td>
                <td>
                    <select name="tc">
                    <option value="1">唱歌</option>
                    <option value="2" selected="selected">跳舞</option>
                    <option value="3">画画</option>
                    </select>
               </td>
             </tr>  
                    <tr>
                        <td align="right">个人签名:</td>
                        <td>
                            <textarea name="sign" cols="" rows="10"></textarea>
                        </td>
                    </tr>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <input type="submit" value="提交" />
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <input type="reset" value="重置" />
                    </td>
                </tr>
            </table>

                                        
    </form>
</body>
</html>

 

posted @ 2016-12-22 18:15  周全264  阅读(1060)  评论(0编辑  收藏  举报