1222作业

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>1222表单</title>
    </head>
    
    <body>
    	<font face="华文彩云" size="5">
    	<form method="get" action="http://www.baidu.com">
        	<table border="1px">
            	<tr>
                	<td>账号</td>
                    <td>
                    	<input type="text" name="userid" value="" placeholder="用户名" style="font-size:24px" required/>
                    </td>
                </tr>
                <tr>
                	<td>密码</td>
                    <td>
                    	<input type="password" name="pwd" value="" style="font-size:24px" required/>
                    </td>
                </tr>
                <tr>
                	<td>姓名</td>
                    <td>
                    	<input type="text" name="username" value="" style="font-size:24px" placeholder="姓名"/>
                    </td>
                </tr>
                <tr>
                	<td>性别</td>
                    <td>
                    	<input id="x1" type="radio" name="xa" checked value="1"/>
                        <label for="x1">男</label>
                        <input id="x2" type="radio" name="xa" value="0"/>
                        <label for="x2">女</label>
                    </td>
                </tr>
                <tr>
                	<td>兴趣爱好</td>
                    <td>
                    	<input type="checkbox" id="a1" name="a1" value="a"/>
                        <label for="a1">运动</label>
                        <input type="checkbox" id="a2" name="a2" value="b"/>
                        <label for="a2">上网</label>
                        <input type="checkbox" id="a3" name="a3" value="c"/>
                        <label for="a3">购物</label>
                        <input type="checkbox" id="a4" name="a4" value="d"/>
                        <label for="a4">唱歌</label>
                    </td>
                </tr>
                <tr>
                	<td>从业经历</td>
                    <td>
                    	<input type="checkbox" id="c1" name="c1" value="d"/>
                        <label for="c1">销售</label>
                        <input type="checkbox" id="c2" name="c2" value="e" checked/>
                        <label for="c2">技术</label>
                        <input type="checkbox" id="c3" name="c3" value="f"/>
                        <label for="c3">讲师</label>
                        <input type="checkbox" id="c4" name="c4" value="g"/>
                        <label for="c4">教师</label>
                    </td>
                </tr>
                <tr>
                	<td>从业时间</td>
                    <td>
                    	<select name="time" id="" style="font-size:16px"/>
                            <option value="0">2011之前</option>
                            <option value="1">2011</option>
                            <option value="2">2012</option>
                            <option value="3">2013</option>
                            <option value="4" selected>2014</option>
                            <option value="5">2015</option>
                            <option value="6">2016</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>了解途径</td>
                    <td>
                    	<input id="cb1" type="checkbox" name="cb1" value="h" checked disabled/>
                        <label for="cb1">网站</label>
                        <input id="cb2" type="checkbox" name="cb2" value="i"/>
                        <label for="cb2">朋友</label>
                    </td>
                </tr>
                <tr>
                    <td>邮箱</td>
                    <td>
                    	<input type="email" name="email" value="" style="font-size:24px"/>
                    </td>
                </tr>
                <tr>
                	<td colspan="2" align="center">
                    	<input type="image" name="哈哈哈" src="狗.gif" width="60px" disabled/>
                    </td>
                </tr>
                <tr>
                	<td colspan="2" valign="middle" align="right">
                    	<input type="submit" value="提交" style="font-size:24px"/>
                        <input type="reset" value="重置" style="font-size:18px"/>
                    </td>
                </tr>
            </table>
        </form>
    </font>
    </body>
</html>

  

原文地址:https://www.cnblogs.com/gaobint/p/6212703.html