html form表单_表格.html

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>html form表单_表格</title>
</head>
<body>
<h1>修改个人信息</h1>
<form action="update" method="post">
    <table border="1" cellspacing="0" width="600" cellpadding="5">
        <tr>
            <td>姓名:</td>
            <td>
                <input type="text" name="uname" value="mary">
            </td>
        </tr>
        <tr>
            <td>性别:</td>
            <td>
                <input type="radio" name="gender" value="F">女士
                <input type="radio" name="gender" value="M" checked>男士
            </td>
        </tr>
        <tr>
            <td>学历:</td>
            <td>
                <select name="education">
                    <option value="0">专科</option>
                    <option value="1">本科</option>
                    <option value="2">硕士</option>
                    <option value="3">博士</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>个人描述:</td>
            <td>
                <textarea name="intro" cols="25" rows="5"></textarea>
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <input type="checkbox" name="pub" value="1">不要公开我的个人信息
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <input type="submit" value="保存">
                <input type="reset" value="重填">
            </td>
        </tr>
    </table>
</form>
</body>
</html>





发布了198 篇原创文章 · 获赞 58 · 访问量 8万+

猜你喜欢

转载自blog.csdn.net/weixin_42193179/article/details/103678737
今日推荐