web第二周作业(编写代码,有关于input 的元素type对于不同的属性的应用实现,类似于注册)

<!DOCTYPE>
<html>
<head>
    <meta charset="UFT-8">
    <title>成大相亲网</title>
</head>
<body background="5.jpg">
    <center><h1>单身汪入口</h1></center>
    <form name="my first form" action="" method="post">
<p>
    <center><ins title="学号/身份证">汪名:</ins>
    <input type="text" size="19" value="201710422104">
    <br><br><ins title="六位零/身份证后六位">汪户密码:</ins>
    <input type="password" size="19" value=1111111></center>
</p>
    <hr size="1">
    <fieldset>
    <p>
        <fieldset>
        <h3>1.汪身验证</h3>
        <lable for="sex">男汪</lable><input type="radio" name="gender" id="sex">
        <br><label for="sex">女汪</label><input type="radio" name="gender" id="sex">
        </fieldset>
    <p>
        <fieldset>
        <h3>2.汪龄记录</h3>
        <label for="year">1个月</label><input type="checkbox" name="year">
        <br><label for="year">1年</label><input type="checkbox" name="year">
        <br><label for="year">母胎solo</label><input type="checkbox" name="year">
        </fieldset>
    </p>
    <p>
        <fieldset>
        <h3>3.汪友照骗</h3>
        照骗上传:<input type="file" name="my-file" size="20">
        </fieldset>
    </p>
    <p>
        <center><input type="submit" value="安排" ></center>
        </fieldset>
    </p>
    <p><center ><input type="reset" value="扎心重置"></center>
    </p>
</form>
</body>
</html>

猜你喜欢

转载自www.cnblogs.com/duxingrui-99/p/9657881.html