简单登录界面V1.1

对上个作品进行了增添,加上了:记住密码自动登录的复选框,还有找回密码

效果如下:

代码如下:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录界面</title>
    <style>
        body {
            background: url("../../photo(all)/background(sky).jpg");
            margin: 250px;
        }


        .accountf {
            padding: 20px 0px 20px 20px;color: #bbbbbb;font-size: 20px;
        }

        .passcode {
            padding: 20px 0px 20px 20px;color: #bbbbbb;font-size: 20px;
        }

        .backpass {
            text-decoration: none;
            color: #bbbbbb;
        }

        .autoin {
            color: #bbbbbb;
        }

        .remembercode {
            color: #bbbbbb;
        }
    </style>
    <link rel="short icon" href="../../photo(all)/titlepicture(banshou).jpeg">
</head>
<body>
<center>
    <table border="0">


        <tr>
            <td class="accountf">
                <b>账号:</b>
            </td>
            <td colspan="2">
                <input type="text" name="account" style="width:200px;height: 20px">
            </td>

        </tr>
        <tr>
            <td class="passcode">
               <b>密码:</b>
            </td>
            <td colspan="2">
                <input type="password" style="width:200px;height: 20px">
            </td>

        </tr>
        <tr>


            <td>
                <input type="checkbox" value="自动登录" class="autoin">自动登录

            <td style="text-align: center">
                <input type="checkbox" value="记住密码" class="remembercode">记住密码
            </td>
            <td>
                <a href="https://www.baidu.com" target="_blank" class="backpass">找回密码</a>
            </td>

        </tr>
        <tr>
            <td colspan="4">
                <input type="submit" value="登录"
                       style="margin: 50px;margin-top:0px;margin-left:10px;width: 300px;height: 50px;font-size: larger;background-color: #bbbbbb;border-radius: 15px;">
            </td>

        </tr>
    </table>
</center>
</body>
</html>

这份是运用表格布局的,比较灵活。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值