登录页面html代码div

html,,,, <a href="https://www.kdun.com/ask/tag/%e7%99%bb%e5%bd%95%e9%a1%b5%e9%9d%a2" title="View all posts in 登录页面" target="_blank">登录页面</a>,,,



,,,

登录页面html代码div

<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF8">
    <meta name="viewport" content="width=devicewidth, initialscale=1.0">
    <title>登录页面</title>
    <style>
        body {
            fontfamily: Arial, sansserif;
            backgroundcolor: #f0f0f0;
        }
        .container {
            width: 300px;
            padding: 16px;
            backgroundcolor: white;
            margin: 100px auto;
            border: 1px solid #ccc;
            borderradius: 4px;
        }
        input[type=text], input[type=password] {
            width: 100%;
            padding: 12px 20px;
            margin: 8px 0;
            display: inlineblock;
            border: 1px solid #ccc;
            boxsizing: borderbox;
        }
        button {
            backgroundcolor: #4CAF50;
            color: white;
            padding: 14px 20px;
            margin: 8px 0;
            border: none;
            cursor: pointer;
            width: 100%;
        }
        button:hover {
            opacity: 0.8;
        }
    </style>
</head>
<body>
    <div class="container">
        <h2>登录</h2>
        <label for="uname"><b>用户名</b></label>
        <input type="text" placeholder="输入用户名" name="uname" required>
        <label for="psw"><b>密码</b></label>
        <input type="password" placeholder="输入密码" name="psw" required>
        <button type="submit">登录</button>
    </div>
</body>
</html>

原创文章,作者:未希,如若转载,请注明出处:https://www.kdun.com/ask/648201.html

(0)
未希的头像未希新媒体运营
上一篇 2024-05-23 08:40
下一篇 2024-05-23 08:40

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

免费注册
电话联系

400-880-8834

产品咨询
产品咨询
分享本页
返回顶部
云产品限时秒杀。精选云产品高防服务器,20M大带宽限量抢购  >>点击进入