表单的综合案例

<form action="">
    <fieldset>
        <legend>学生档案</legend>
        <lable>姓  名:<input type="text" placeholder="请输入学生名字"/></lable><br />
        <lable>手  机:<input type="tel"  /></lable> <br />
        <lable>邮  箱:<input type="email"/></lable><br />
        <lable> 所属学院:<input type="text" placeholder="请选择学院" list="xueyuan"/></lable>
        <datalist id="xueyuan">
            <option>java学院</option>
            <option>java学院</option>
            <option>java学院</option>
        </datalist>

        <br /><br />

        <lable>出生日期:<input type="date"/></lable><br /><br />
        <lable>成绩:<input type="number"/></lable></br />
        <lable>毕业时间:<input tyype="date"/></lable><br/>
        <input type="sumit"/><>input type="retset"/>
    </fieldset>
</form>

猜你喜欢

转载自blog.csdn.net/LXLXLJLJ/article/details/81164151