HTML实例网页代码, 本实例适合于初学HTML的同学。该实例里面有设置了css的样式设置,有div的样式格局,这个实例比较全面,有助于同学的学习,本文将介绍如何通过从头开始设计个人网站并将其转换为代码的过程来实践设计。
精彩专栏推荐👇🏻👇🏻👇🏻👇🏻文末获取联系
❤ 【作者主页——获取更多优质源码】
❤ 【web前端期末大作业——毕设项目精品实战案例(1000套)】
1 网页简介:此作品为学生个人主页网页设计题材,HTML+CSS 布局制作,web前端期末大作业,大学生网页设计作业源码,这是一个不错的网页制作,画面精明,代码为简单学生水平, 非常适合初学者学习使用。
2.网页编辑:网页作品代码简单,可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html编辑软件进行运行及修改编辑等操作)。
3.知识应用:技术方面主要应用了网页知识中的: Div+CSS、鼠标滑过特效、Table、导航栏效果、Banner、表单、二级三级页面等,视频、 音频元素 、Flash,同时设计了Logo(源文件)所需的知识点。
代码如下(示例):以下仅展示部分代码供参考~
月下拾花摄 ![]()
月下拾花摄10年专注海南三亚婚纱照拍摄,专业三亚海景外景摄影,为了满足顾客更高个性化婚纱照的需求,打造全国高品位婚纱摄影领导品牌!
![]()
三亚拾花摄专属拍摄基地:大小洞天、分界洲、蜈支洲、水晶教堂、凤凰岛、三亚湾、亚龙湾、一路向南、心海弯等,国内外婚纱摄影景点!
![]()
![]()
一站式玩拍体验
拍婚照 · 度蜜月 · 游美景 · 享美食
![]()
没有隐形消费
除套系价格,全程不再收取任何费用
![]()
坚持口碑营销
更高品质的服务就是最有力度的营销
![]()
以客片说话
总监团队,100%原创客片
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
中国 • 三亚市凤凰镇海虹路二月海酒店二号木屋
Phoeni townx, Sanya City, China, haihong road ,February Sea sea view Hotel, No.2xyloidcabin
/*css 初始化 */
html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img {margin: 0;padding: 0;
}fieldset, img, input, button {border: none;padding: 0;margin: 0;outline-style: none;
}ul, ol {list-style: none;
}/*去掉原样式中的小黑点*/
input {padding-top: 0;padding-bottom: 0;font-family: "SimSun", "宋体";
}select, input {vertical-align: middle;
}/*输入字居中显示*/
select, input, textarea {font-size: 12px;margin: 0;
}/**/
textarea {resize: none;
}/*防止拖动*/
img {border: 0;vertical-align: middle; /* 去掉图片底部默认的3像素空白缝隙*/
}table {border-collapse: collapse; /*合并外连线*/
}body {font: 12px/1.5 "微软雅黑", Arial, Verdana, "\5b8b\4f53"; /*unitedCode的写法,宋体的写法*/color: #000;background: #fff;min-width: 1200px;/*height: 3000px;*/
}.clearfix:before, .clearfix:after {/*清除浮动,最好最标准的写法*/content: "";display: table;
}.clearfix:after {clear: both;
}.clearfix {*zoom: 1; /*IE/7/6*//*兼容IE6下的写法*/
}a {color: #666;text-decoration: none;
}a:hover {/*color: #C81623;*/font-weight: 800;
}h1, h2, h3, h4, h5, h6 {text-decoration: none;font-weight: normal;font-size: 100%;
}s, i, em {font-style: normal;text-decoration: none;
}.col-red {color: #C81623 !important;
}/*公共类*/
.w {/*版心 提取 */width: 1200px;margin: 0 auto;
}.fl {float: left;
}.fr {float: right;
}.al {text-align: left;
}.ac {text-align: center;
}.ar {text-align: right;
}.hide {display: none;
}/*css初始化完成*//*通用顶部 B*/
/*顶1 通栏*/
.shortcut {height: 42px;line-height: 42px;background: #444;
}.shortcut .ad {font-size: 14px;color: #fff;
}.moreVer {height: 42px;margin-right: 20px;
}.moreVer a {display: inline-block;height: 42px;background-image: url(../image/top.png);margin: 0 15px;
}.ver-phone {width: 76px;background-position: 0 0;
}.ver-phone:hover {background-position: 0 -42px;
}.ver-tmall {width: 88px;background-position: -122px 0;
}.ver-tmall:hover {background-position: -122px -42px;
}.ver-weibo {width: 72px;background-position: -254px 0;
}.ver-weibo:hover {background-position: -254px -42px;
}/*顶2 logo+tell*/
.logoBar .logo {
}.logoBar .logo a {display: block;height: 110px;width: 516px;line-height: 110px;background: url(../image/logo.png) no-repeat center;text-indent: -9999px;
}.logoBar .tell {width: 480px;height: 110px;background: url(../image/tell.png) no-repeat center;
}
/*顶3 nav*/
.nav {height: 48px;position: relative;z-index: 3;background: #fff;
}
.nav .left-bg {width: 7px;height: 48px;position: absolute;left: -7px;background: url(../image/nav-bg.png);
}
.nav li {float: left;position: relative;width: 180px;height: 36px;padding: 6px 0 6px 20px;background: url(../image/nav-bg.png) repeat-y right top;
}
.nav i {display: block;width: 52px;height: 12px;/*background: url(../image/bg01.png) no-repeat -1px -40px;*/
}
.nav li b {display: block;line-height: 24px;font-size: 18px;font-weight: bold;
}color: #585858;background-color: #dedede;
}
/*返回顶部*/
.backTop {display: none;width: 45px;height: 74px;position: fixed;bottom: 40px;right: 80px;z-index: 999;
}
.backTop span{cursor: pointer;display: block;width: 45px;height: 74px;background: url(../image/backup.png) no-repeat center;
}
一套合格的网页应该包含(具体可根据个人要求而定)
1.看到这里了就 【点赞收藏博文】
三连支持下吧,你的支持是我创作的动力, 【观注作者 |获取更多源码| 优质文章】
。
2.关注我带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!
3.以上内容技术相关问题可以相互学习交流
上一篇:html制作网页案例代码----(故宫博物馆9页)特效很多
下一篇:BGP服务器