云主机测评网云主机测评网云主机测评网

云主机测评网
www.yunzhuji.net

登录页面html代码div

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


,,,

<!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>
打赏
版权声明:主机测评不销售、不代购、不提供任何支持,仅分享信息/测评(有时效性),自行辨别,请遵纪守法文明上网。
文章名称:《登录页面html代码div》
文章链接:https://www.yunzhuji.net/internet/180343.html

评论

  • 验证码