一个简单的HTML网页 、个人主页网页设计(HTML+CSS)

 一、👨‍🎓网站题目

🧑个人网页设计、🙋‍♂️个人简历制作、👨‍💼简单静态HTML个人网页作品、👨‍🏭个人介绍网站模板 、等网站的设计与制作。

二、✍️网站描述

⭐个人网页设计网站模板采用DIV CSS布局制作,网页作品有多个页面,如 :个人介绍(文字页面)、我的作品(图片列表)、个人技能(图文页面)、在线留言(表单页面)CSS样式方面网页整体采用左右布局结构,制作了网页背景图片,导航区域每个导航背景色不同,导航背景色与页面背景呼应。

🏅 一套A+的网页应该包含 (具体可根据个人要求而定)

  1. 页面分为页头、菜单导航栏(最好可下拉)、中间内容板块、页脚四大部分。
  2. 所有页面相互超链接,可到三级页面,有5-10个页面组成。
  3. 页面样式风格统一布局显示正常,不错乱,使用Div+Css技术。
  4. 菜单美观、醒目,二级菜单可正常弹出与跳转。
  5. 要有JS特效,如定时切换和手动切换图片轮播。
  6. 页面中有多媒体元素,如gif、视频、音乐,表单技术的使用。。
  7. 页面清爽、美观、大方,不雷同。 。
  8. 不仅要能够把用户要求的内容呈现出来,还要满足布局良好、界面美观、配色优雅、表现形式多样等要求。<hr>

三、📚网站介绍

📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。

📓网站程序方面:计划采用最新的网页编程语言HTML5+CSS3+JS程序语言完成网站的功能设计。并确保网站代码兼容目前市面上所有的主流浏览器,已达到打开后就能即时看到网站的效果。

📘网站素材方面:计划收集各大平台好看的图片素材,并精挑细选适合网页风格的图片,然后使用PS做出适合网页尺寸的图片。

📒网站文件方面:网站系统文件种类包含:html网页结构文件、css网页样式文件、js网页特效文件、images网页图片文件;

📙网页编辑方面:网页作品代码简单,可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html编辑软件进行运行及修改编辑等操作)。

其中:

(1)📜html文件包含:其中index.html是首页、其他html为二级页面;

(2)📑 css文件包含:css全部页面样式,文字滚动, 图片放大等;

(3)📄 js文件包含:js实现动态轮播特效, 表单提交, 点击事件等等(个别网页中运用到js代码)。

四🌐网站效果

 

 

 

 五、网站源码

html
<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title></title>
    <link rel="stylesheet" type="text/css" href="css/index.css" />
    <style type="text/css">
        #tab td:first-child {
            min-width: 200px;
            text-align: center;
        }

        #tab td:nth-child(2) {
            width: 400px;
            padding: 0 40px;
            line-height: 40px;
        }

        #tab1 td {
            height: 40px;
            line-height: 40px;
        }
    </style>
</head>

<body>
    <div class="body">
        <!--nav-->
        <div class="nav">
            <div class="main">
                <ul>
                    <li>
                        <a href="#"><img src="img/log.jpg" height="50px"></a>
                    </li>
                    <li>
                        <a href="index.html" class="active">博客首页</a>
                    </li>
                    <li>
                        <a href="geren.html">个人简介</a>
                    </li>
                    <li>
                        <a href="zuoping.html">个人作品</a>
                    </li>
                    <li>
                        <a href="lianxi.html">联系我</a>
                    </li>
                    <li>
                        <a>
                            <p class="search">
                                <input type="text" name="" id="" value="" placeholder="搜索" />
                            </p>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
        <!--nav-->
        <!-- banner -->

        <div class="main">
            <table>
                <tr>
                    <td><img src="https://img.keaitupian.cn/newupload/12/1671790142938529.jpg" border=0 height="180px;"
                            width="180px;"></td>
                    <td><img src="https://img.keaitupian.cn/newupload/12/1671790142938529.jpg" border=0 height="180px;"
                            width="180px;"></td>
                    <td><img src="https://img.keaitupian.cn/newupload/12/1671790142938529.jpg" border=0 height="180px;"
                            width="180px;"></td>
                    <td><img src="https://img.keaitupian.cn/newupload/12/1671790142938529.jpg" border=0 height="180px;"
                            width="180px;"></td>
                    <td><img src="https://img.keaitupian.cn/newupload/12/1671790142938529.jpg" border=0 height="180px;"
                            width="180px;"></td>
                    <td><img src="https://img.keaitupian.cn/newupload/12/1671790142938529.jpg" border=0 height="180px;"
                            width="180px;"></td>
                </tr>
            </table>

            <table width="100%" border="1" align="center" cellpadding="0" cellspacing="0" id="tab">
                <tr>
                    <td width="10%">角色生活</td>

                    <td colspan="2">
                        <p style="line-height: 40px;padding: 10px 20px;">特征:
                            除开精灵宝可梦,日本国较大的日本国IP三丽鸥想造就一个像国王的新衣那样的人物角色,因此他搜集了童话故事狼最爱的小动物,最终拥有头戴红色头套的白兔库洛米。库洛米是一只兔子,从她戴头巾的耳朵就可以看出来。看起来很坏,但事实上是非常可爱的小女生,喜欢最帅好多的男生
                        </p>
                        <p style="line-height: 40px;padding: 10px 20px;">兴趣:写日记,并开始尝试写恋爱小说</p>
                        <p style="line-height: 40px;padding: 10px 20px;">喜欢的颜色:自己身上的颜色—黑色</p>
                        <p style="line-height: 40px;padding: 10px 20px;">
                            Kuromi 的日记名为 Kuromi 笔记(Kuromi Note),全部都是记着认为自己被 My
                            Melody欺负的事。她和巴库,一起致力为柊惠一收集黑色音符。非常非常喜欢柊惠一,经常幻想自己与柊惠一未来的生活。
                            酷洛米 有一位部下名叫巴库(Baku),是一只以貘及食梦兽作造型的角色,由于感激 Kuromi 在他最沮丧的时候(被父亲骂)去教他怎么忘记悲伤,
                            又见为他的十多个挨饿的弟弟而到皇宫偷面包,所以即使经常被 Kuromi 拳打脚踢,仍然忠心耿耿。
                            巴库有飞行的技能,所以也同时充当 Kuromi的私人座驾。
                            Kuromi 亦是 Kuromi 军团(Kuromi's 5)的首领,有四位组员追随。
                        </p>

                    </td>
                </tr>
                <tr>
                    <td> 人际关系 </td>
                    <td colspan="2">
                        <p style="line-height: 40px;padding: 10px 20px;">伙伴:巴库。</p>
                        <p style="line-height: 40px;padding: 10px 20px;">好朋友:有一些女的,是他的闺蜜的伴。动画出场和游戏出场。蛋仔派对也有她。她是配角。有时候出现少
                        </p>

                        <img src="https://pic1.zhimg.com/50/v2-621cce59f0e147f0fbeb78bf98a499c4_hd.jpg?source=1940ef5c" width="100%" >
                    </td>
                </tr>
            </table>
        </div>

        <div class="foot">
            库洛米
        </div>
    </div>
</body>

</html>
css
* {
	margin: 0;
	padding: 0;
	font-family: "黑体";
	font-size: 14px;
	color: #5c5c5c;
}

ul,
li {
	list-style: none;
}

a {
	text-decoration: none;
	color: #5C5C5C;
}

html,
body {
	min-height: 1080px;
	background: url(../images/bg.jpg) no-repeat;
	background-size: 100% 100%;
}

.body {
	width: 100%;
	overflow: hidden;
}

.main {
	width: 1100px;
	margin: 0 auto;
	overflow: hidden;
	background: #cabdec;

}

/*nav*/
.nav {
	width: 100%;
	margin-top: 10px;
	overflow: hidden;
	background-size: 100% 100%;
	text-align: center;
}
.nav ul{
	overflow: hidden;
	border-left: 1px solid #e6e6e6;
	border-right: 1px solid #e6e6e6;
}
.nav ul li {
	float: left;
}

.nav ul li a {
	line-height: 50px;
	font-weight: 700;
	display: block;
	padding: 0 20px;
}

.active {
	border-radius: 5px;
	background: #ad92f0;;

}
.search input{
	width: 200px;
	border: 1px solid #ad92f0;
	border-radius: 5px;
	height: 26px;

}
.search img{
	vertical-align: middle;
	margin-left: -20px;
}
.foot{
	background: #cabdec;;
	text-align: center;
	height: 40px;
	line-height:40px ;
}



.contact-page {
    width: 100%;
    max-width: 1400px;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

h2 {
    width: 100%;
    margin-bottom: 80px;
    text-transform: uppercase;
    font-size: 40px;
}

.contact-info,
.contact-form {
    flex: 1;
}

.item {
    margin-bottom: 40px;
    font-size: 16px;
}

.item .icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: skyblue;
    color: #fff;
    border-radius: 50%;
    margin-right: 5px;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.textb {
    width: calc(50% - 10px);
    /* 每一个textb盒子的宽度始终保持父盒子宽度一半减去10px */
    height: 40px;
    background-color: rgb(238, 236, 236);
    border: none;
    color: #fff;
    padding: 20px;
    margin-bottom: 20px;
}

textarea {
    width: 100%;
    min-height: 200px;
    max-height: 400px;
    resize: vertical;
    background-color: rgb(238, 236, 236);
    border: none;
    color: #fff;
    padding: 20px;
    margin-bottom: 20px;
}

.btn {
    margin-left: auto;
    width: 120px;
    height: 40px;
    text-transform: uppercase;
    background-color: skyblue;
    border: none;
    border: 2px solid skyblue;
    transition: 0.3s linear;
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: skyblue;
}

@media screen and (max-width:800px) {
    .contact-page {
        max-width: 800px;
    }
    h2 {
        font-size: 40px;
        margin-bottom: 40px;
    }
    .contact-info,
    .contact-form {
        flex: 100%
    }
    .textb {
        width: 100%;
    }
}

六、🥇 如何让学习不再盲目

很多刚入门编程的小白学习了基础语法,却不知道语法的用途,不知道如何加深映像,不知道如何提升自己,这个时候每天刷自主刷一些题就非常重要(百炼成神),可以去牛客网上的编程初学者入门训练。该专题为编程入门级别,适合刚学完语法的小白练习,题目涉及编程基础语法,基本结构等,每道题带有练习模式和考试模式,可还原考试模式进行模拟,也可通过练习模式进行练习 。

<hr>

七、🎁更多干货

1.如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “👍点赞” “✍️评论” “💙收藏”一键三连哦!

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值