HTML实例网页代码, 本实例适合于初学HTML的同学。该实例里面有设置了css的样式设置,有div的样式格局,这个实例比较全面,有助于同学的学习,本文将介绍如何通过从头开始设计个人网站并将其转换为代码的过程来实践设计。
1 网页简介:此作品为学生个人主页网页设计题材,HTML+CSS 布局制作,web前端期末大作业,大学生网页设计作业源码,这是一个不错的网页制作,画面精明,代码为简单学生水平, 非常适合初学者学习使用。
2.网页编辑:网页作品代码简单,可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html编辑软件进行运行及修改编辑等操作)。
3.知识应用:技术方面主要应用了网页知识中的: Div+CSS、鼠标滑过特效、Table、导航栏效果、Banner、表单、二级三级页面等,视频、 音频元素 、Flash,同时设计了Logo(源文件)所需的知识点。







代码如下(示例):以下仅展示部分代码供参考~
电影速递
*{padding:0;margin:0;
}.big
{width: 100%;height: 1300px;background:url(../image/妇è”.jpg) no-repeat;background-size: 100% 100%;position: relative;
}.main
{width: 1000px;height: 1250px;background-color: white;border:1px white solid;position:absolute;margin-left: 130px;margin-top: 30px;border-radius: 5px;}a{text-decoration: none;
}li{list-style: none;
}header
{height:100px;width:1000px;}.footer .link
{height: 30px;width: 1000px;position: absolute;margin-top: 1190px;margin-left: 180px;color: black;
}.footer .copy
{height: 30px;width: 1000px;position: absolute;margin-top: 1220px;margin-left: 380px;color: black;
}.content img{width: 950px;height: 450px;position: absolute;margin-left: 24px;
}h2 a:nth-of-type(1)
{width:70px;height:30px;line-height:30px;color:#FF9900;border:2px #fad65c solid;margin-left:648px;
}h2 a:nth-of-type(2)
{width:70px;height:30px;line-height:30px;color:#FF9900;border:2px #fad65c solid;margin-left: 12px;margin-bottom: 12px;
}h2 a
{font-size: 15px;text-align:center;display:inline-block;border-radius:35px;
}h2 a:hover
{color:#986b0d;background:#fad65c;
}header .nav h2 .biaoti
{font-family:KaiTi;font-style:oblique;font-size: 30px;margin-left: 25px;color: #8A2BE2;
}header .nav h2 .gundong{width:230px;height: 30px;font-size: 20px;position: absolute;color: #FF33CC;margin-top: 6px;margin-left: 200px;
}header .nav .fenlei li
{list-style: none;float: left;width: 77px;height: 30px;line-height: 30px;text-align: center;margin-right:40px;color: #CC0033; font-size: 12px;border-top: 1px solid #99CCFF;border-bottom: 1px solid #99CCFF;}header .nav .fenlei li:nth-of-type(1){margin-left: 50px;}header .nav .fenlei li:hover
{background: orange;border: 1px solid orange;border-radius:15px;color: #0099CC;font-size: 12px;transition: all 1s ease 0.1s;transform: skew(15deg);
}#list
{ width:190px;border:1px #aacbee solid;padding:1px #aacbee solid; background-color:#f5f9fc;position: absolute;margin-left: 23px;margin-top:470px;
}.titles
{height: 30px;text-indent: 25px;font-weight: bold;color: #663366;background: url(../image/title_icon.gif) left center no-repeat;
}.content #list ul li
{font-size: 13px;color: #003366;list-style: none;text-decoration: none;height:40px;line-height:40px;text-indent:25px;border-top:1px #cfe2f5 solid;background: url(../image/submenu.gif) right center no-repeat;
}h3
{text-indent: 1em;
}hr
{color: #aacbee;size: 1px;margin-top: 16px;width: 731px;
}.content
{position: relative;
}.content .tuijian
{position: absolute;margin-left:240px;margin-top:466px;font-family: STFangsong;font-size: 20px;color: #FF6666;font-style:oblique;font-weight: bolder;
}.content .tuijian1
{height: 1000px;width: 800px;position: absolute;margin-left:240px;margin-top:520px;
}.content .tuijian1 a
{float: left;margin-bottom:203px;margin-right: 250px;
}.content .tuijian1 a img
{height: 153px;width: 230px;border-radius: 8px;
}.content .tuijian1 a img:hover
{border: 5px solid orange;transform: scale(1.2);z-index: 1;}.content .tuijian1 a img:nth-of-type(1)
{position: absolute;margin-left:0px;margin-top: 4px;
}.content .tuijian1 a p
{position: absolute;margin-left: 74px;margin-top: 162px;color: #006633;font-weight:bolder;
}
一套合格的网页应该包含(具体可根据个人要求而定)
1.看到这里了就 【点赞收藏博文】 三连支持下吧,你的支持是我创作的动力, 【观注作者 |获取更多源码| 优质文章】 。
2.关注我带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!
3.以上内容技术相关问题可以相互学习交流
上一篇:形容胖女人的好听的词语
下一篇:在古诗中柳有什么象征意义