使用HTML和CSS写登录界面

来源:互联网 发布:电子文档软件 编辑:程序博客网 时间:2024/06/05 04:49
<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">    <title>登录</title>    <style type="text/css">    .h3_1 {        font-size: 30px;        color: red;    }    .h3_1 b {        font-size: 20px;        color: blue;    }    .table_1 {        font-size: 30px;        color: blue;    }    .input_1{    width: 130px;    height: 25px;    }    .input_2{    width: 110px;    height: 25px;    }    a{    text-decoration: none;    }    .h3_2{    font-size: 25px;    }    .img_1{width: 32px;border-radius: 50%;overflow: hidden;}    </style></head><body>    <h3 class="h3_1">         HealingHands   <b>healinghands网页</b></h3>    <hr size="2" noshade="noshade" width="100%">    <br><br><br><br><br>    <form action="index.html">        <table border="1" cellpadding="10" cellspacing="0" align="center" width="500px">            <caption class="table_1">登录HealingHands</caption>            <tr>            <td rowspan="3" style="width: 235px;"></td>                <td style="font-size: 20px;height: 30px;">账    号:<input type="text" name="" value="" maxlength="15" class="input_1">                </td>            </tr>            <tr>                <td style="font-size: 20px;height: 30px;">密    码:<input type="password" name="" value="" maxlength="12" class="input_1">                </td>            </tr>            <tr>            <td style="font-size: 20px;height: 30px;">验证码:<input type="text" name="" value="" class="input_2"></td>            </tr>            <tr>            <td colspan="2" align="center">            -------第三方登录-------<br>            <a href="#"><img src="QQ_Logo.jpg" alt="QQ_Logo" class="img_1"></a>   <a href="#"><img src="微博_Logo.jpg" alt="微博_Logo" class="img_1"></a>   <a href="#"><img src="微信_Logo.jpg" alt="微信_Logo" class="img_1"></a>   <a href="#"><img src="支付宝_Logo.jpg" alt="支付宝_Logo" class="img_1"></a>            </td>            </tr>            <tr bgcolor="#999999">            <td colspan="2" align="center">            <input type="submit" name="" value="登 录" style="font-size: 20px;color:blue;background-color: #adeaea;width: 70px;">                  <form action="login.html">            <input type="submit" name="" value="取 消" style="font-size: 20px;color:blue;background-color: #adeaea;width: 70px;">            </form>            </td>            </tr>        </table>    </form>    <br><br><br><br><br><br><br><br><br>    <h3 class="h3_2"><a href="index.html" target="parent">主页</a> | 登录</h3></body></html>

结果展示:



原创粉丝点击