HTML5前端开发入门之网易注册界面实战

本文是HTML5前端开发的入门教程,通过实际制作网易注册界面,介绍HTML5的基础语法、CSS样式应用及布局技巧。适合初学者快速掌握网页制作。
摘要由CSDN通过智能技术生成
代码如下:

图片可通过谷歌浏览器在网易邮箱官网直接下载
<!DOCTYPE html>
<html lang="en" xmlns:http="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>网易邮箱注册界面</title>
    <style>
        body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,
        form,fieldset,legend,input,textarea,p,blockquote,th,td
        {
            margin:0;
            padding:0;
        }
        body{
            background-color: #f9f9f9;
            font-size: 12px;
        }
        .header{
            width: 960px;
            height: 81px;
            margin: 0 auto;
            padding-top: 30px;
            box-sizing: border-box;
        }
        .header .logo{
            width: 644px;
            height: 27px;
            background:url("../images/wy.png") no-repeat 0 0;
            float: left;
        }
        .header .logo a{
            display: inline-block;
            width: 128px;
            height: 27px;
        }
        .header .links{
            width: 200px;
            height: 19px;
            text-align: right;
            float: right;
            color: #999;
        }
        .header .links a{
            text-decoration: none;
            line-height: 19px;
            color: #039;
        }
        .header .links a:hover{border-bottom:1px solid #039;}
        .content{
            width: 960px;
            height: 727px;
            margin: 0 auto;
        }
        .content .top{
            width: 958px;
            height: 38px;
            background-color: #6495C6;
            border: 1px solid #5B88B8;
            border-radius: 3px 3px 0 0;
        }
        .content .top h1{
            font-size: 14px;
            color: white;
            line-height: 38px;
            padding-left: 20px;
        }
        .content .bottom{
            width: 960px;
            height: 687px;
            background-color: white;
        }
        .content .bottom .left{
            width: 642px;
            height: 687px;
            float: left;
            padding-left: 60px;
            padding-top: 50px;
            box-sizing: border-box;
            border: 1px solid #ccc;
            border-top: none;
            border-right: none;
        }
        .content .bottom .left .leftTop{
            width: 582px;
            height: 58px;
            padding-left: 55px;
            box-sizing: border-box;
        }
        .content .bottom .left .leftTop ul{
            width: 412px;
            height: 35px;
            background-image: url("../images/wy3.jpg");
            background-repeat: no-repeat;
            list-style: none;
        }
        .content .bottom .left .leftTop ul li{
            float: left;
            width: 137px;
            height: 35px;
            line-height: 35px;
            text-align: center;
        }
        .content .bottom .left .leftBottom{
            width: 573px;
            height: 543px;
            margin-left: 9px;
        }
        .content .bottom .left .leftBottom .txt-tips{
            color: rgb(153, 153, 153);
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值