使用HTML和CSS写登录界面

<!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>

结果展示:



  • 6
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值