html--表单

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>information survey</title>
</head>
<body>
    <form action="" method="get">
        <fieldset>
            <legend>information survey</legend>
            name:<br>
            <input type="text" name="name"><br>
            birthday:<br>
            <input type="text" name="birthday"><br>
            sex:<br>
            <select name="work">
                <option value="teacher">teacher</option>
                <option value="police">police</option>
                <option value="student">student</option>
                <option value="others">others</option>
            </select>
            <br>
            sex:
            <input type="radio" name="sex" value="male">male
            <input type="radio" name="sex" value="female">female
            <br>
            <input type="submit" value="Subscribe">
        </fieldset>
    </form>
</body>
</html>

猜你喜欢

转载自www.cnblogs.com/925039847z/p/9651923.html