day21

2018-12-05  本文已影响0人  L_4bc8
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <style type="text/css">
            #div1, #div2{
                margin: 0 auto;
                }
                #div2{
                    padding:8px;
                }
        </style>
    </head>
    <body>
        <div id="div1"; style="background-color: blue; height: 800px; width: 600px;">
            &emsp;<font size="5">登记</font><br />
            <div id="div2"; style="background-color: gainsboro; height: 700px; width: 576px;">
                <h2 align="center" style="color: blue;">入学登记</h2>
                <form action="" method="post">
                <div id="3" >
                    <font>学号:</font><input type="text" name="name" />&emsp;&emsp;&emsp;&emsp;&emsp;
                    <font>性别:</font><select name="sex">
                        <option value="">男</option>
                        <option value="">女</option>
                    </select>
                <br />  
                <br />
                
                    <font>姓名:</font><input type="text" name="name" />&emsp;&emsp;&emsp;&emsp;
                    <font>班级:</font><select name="class">
                        <option value="">1班</option>
                        <option value="">2班</option>
                        <option value="">3班</option>
                    </select>   
                <br />
                <br />
                
                    <font>出生年月:</font><input type="text" placeholder="例如:6-17-1978" name="出生年月" />&emsp;&emsp;&emsp;&emsp;
                <br />
                <br />
                
                    <font>邮政编码:</font><input type="text" name="邮政编码" id="邮政编码" value="" />
                    &emsp;&emsp;&emsp;&emsp;
                    <font>分类:</font><select name="邮政编码分类">
                        <option value="">分类1</option>
                        <option value="">分类2</option>
                        <option value="">分类3</option>
                    </select>
                <br />
                <br />
                    <font>联系电话:</font>
                    <input type="text" name="tel" id="tel" value="" />
                <br />
                <br />
                <font>入学时间:</font>
                    <input type="text" name="入学时间" id="入学时间" value="" />
                <br />
                <br />
                
                    <font style="float: left;">备注:</font><textarea name="备注" rows="10" cols="49"></textarea>
                <br />
                <br /><br />
                </div>
                <div align="center">
                    <input type="submit" value="确定"/>   &emsp;  &emsp;  &emsp;  &emsp;  &emsp;
                    <input type="reset" value="取消" />
                </div>
                
            </form>
            </div>
        </div>
    </body>
</html>
上一篇下一篇

猜你喜欢

热点阅读