注册表单(第一周作业)

<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>注册表单</title>
</head>
<body>
    <h3>请输入你的用户名和密码,并选择性别:</h3>
    <form action="" method="get" class="form-example">
        <div class="form-example">
            <label for="name">用户名</label>: </label>
            <input type="text" name="name" id="name" required>
        </div>
        <div class="form-example">
            <label for="password">密  码 : </label>
            <input type="text" name="password" id="password" required>
        </div>
        男性:
        <input type="radio" checked="checked" name="Sex" value="male" />
        <br /> 女性:
        <input type="radio" name="Sex" value="female" />
        <div class="form-example">
            <input type="submit" value="Submit">
        </div>
    </form>

</body>
</html>
原文地址:https://www.cnblogs.com/lldy/p/9662742.html