2024-10-9

form表单


实操

点击查看代码
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="url" method="gret|post" name="myfrom">
        <input type="text">
        <input type="submit">
    </form>
</body>
</html>
Document

表单元素




实操

点击查看代码
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="">
        用户名:<input type="test">
        密码:<input type="password">
        <input type="submit" value="登录">
    </form>
</body>
</html>
Document
用户名: 密码:
posted @ 2024-10-09 23:06  liu某人  阅读(4)  评论(0编辑  收藏  举报