day2-作业

2018-12-04  本文已影响0人  71a5d7e107e5

入学登记

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>登记</title>
        <style type="text/css">
            #text{color: red;}
        </style>
        
    </head>
    <body>
        
        <table border="1"bgcolor="beige" cellspacing="0" align="center" width="600"height="400">
            <tr align="center"><td><h1 style="color: blue;"><em>入学登记</em></h1></td></tr>
            <tr><td>
        <br />
        <form action="" method="post">
            &emsp;&emsp;<font>学号:</font><input type="text" name="" id="text" value="py1808" />
            &emsp;&emsp;<font>性别:</font>
            <input type="radio" name="性别" id="text" value="男" checked="checked"/><font>男</font>
            <input type="radio" name="性别" id="text" value="女" /><font>女</font><br />    <br />
            &emsp;&emsp;<font>姓名:</font><input type="text" name="" id="" value="" />
            &emsp;&emsp;<font>班级:</font><select name="班级"id="text">
                <option value="">01</option>
                <option value="">02</option>
                <option value="">03</option>
                <option value="">04</option>
                <option value="">05</option>
                <option value="">06</option>
            </select><br /><br />
            <font>出生年月:</font><input type="date" name="" id="" value="" /><br /><br />
            <font>家庭住址:</font><input maxlength="20" type="text" name="" id="" value="" /><br /><br />
            <font>邮政编码:</font><input type="number" name="" id="" value="" />
            &emsp;&emsp;<font>分类:</font><select name="性别"id="text">
                <option value="">123</option>
                <option value="">456</option>
            </select><br /><br />
            <font>联系电话:</font><input type="text" name="" id="" value="" /><br /><br />
            <font>入学时间:</font><input type="date" name="" id="text" value="" /><br /><br />
            &emsp;&emsp;<font>备注:</font>
            <textarea name="" rows="5" cols="30"placeholder="123456"></textarea>
        </form><br />
        &emsp;&emsp;&emsp;&emsp;<button>确定</button>
        &emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<button>取消</button>
            </td></tr>
        </table>
    </body>
</html>
上一篇下一篇

猜你喜欢

热点阅读