👨🎓学生HTML静态网页基础水平制作👩🎓,页面排版干净简洁。使用HTML+CSS页面布局设计,web大学生网页设计作业源码,这是一个不错的旅游网页制作,画面精明,排版整洁,内容丰富,主题鲜明,非常适合初学者学习使用, 这个实例比较全面,有助于同学的学习,本文将介绍如何通过从头开始设计个人网站并将其转换为代码的过程来实践设计。
❤ 【作者主页——🔥获取更多优质源码】
❤ 【学习资料/简历模板/面试资料/ 网站设计与制作】
❤ 【web前端期末大作业——🔥🔥毕设项目精品实战案例】
# 一、👨🎓网站题目 🍵茶文化网站、🏳️🌈中华传统文化题材、京剧文化🔏水墨风书画、中国民间年画文化艺术网站 、等网站的设计与制作。
二、✍️网站描述
🏷️ 这个首页代码运用了DIV盒子的使用方法,如盒子的嵌套、浮动、margin、border、background等属性的使用,外部大盒子设定居中,内部左中右布局,下方横向浮动排列,大学学习的前端知识点和布局方式都有运用,CSS的代码量也很足、很细致,使用hover来完成过渡效果、鼠标滑过效果等,使用表格、表单补充模块,为方便新手学习, 个别源码页面中没有使用js有需要的可以自行添加。
🏅 一套优质的💯网页设计应该包含 (具体可根据个人要求而定)
- 页面分为页头、菜单导航栏(最好可下拉)、中间内容板块、页脚四大部分。
- 所有页面相互超链接,可到三级页面,有5-10个页面组成。
- 页面样式风格统一布局显示正常,不错乱,使用Div+Css技术。
- 菜单美观、醒目,二级菜单可正常弹出与跳转。
- 要有JS特效,如定时切换和手动切换图片轮播。
- 页面中有多媒体元素,如gif、视频、音乐,表单技术的使用。
- 页面清爽、美观、大方,不雷同。 。
- 不仅要能够把用户要求的内容呈现出来,还要满足布局良好、界面美观、配色优雅、表现形式多样等要求。
三、📚网站介绍
📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。
📓网站程序方面:计划采用最新的网页编程语言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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="renderer" content="webkit"> <meta name="force-rendering" content="webkit"> <title></title> <link type="text/css" rel="stylesheet" href="css/style.css"> <link type="text/css" rel="stylesheet" href="css/animate.css"> <script type="text/javascript" src="js/jquery-1.8.2.min.js"></script> <script type="text/javascript" src="js/banner.js"></script> <script type="text/javascript" src="js/wow.min.js"></script> <script type="text/javascript"> new WOW().init(); </script> </head> <body> <div class="header"> <div class="main"> </div> </div> <div class="clear"></div> <div class="nav"> <ul> <li><a href="">首页</a></li> <li><a href="product.html">精品展示</a></li> </ul> </div> <div class="clear"></div> <div class="banner"> <div class="b-img"> <img src="picture/banner.jpg" width="100%"> <img src="picture/00.jpg" width="100%"> </div> <div class="clear"></div> <div class="b-list"> </div> </div> <div class="clear"></div> <div class="wow fadeInUp noticeBox"> <div class="main"> <img src="picture/notice.png"> <div class="tit">最新公告:</div> <div class="gg"> <marquee><p>2021年河南省诗词大赛即将拉开帷幕</p></marquee> </div> </div> </div> <div class="clear"></div> <div class="wow fadeInRight part1" data-wow-offset="10"> <ul> <li> <a href="product_xq.html"><img src="picture/2.jpg"></a> <p>诗词展示</p> </li> <li> <a href="product_xq.html"><img src="picture/3.jpg"></a> <p>诗词展示</p> </li> <li> <a href="product_xq.html"><img src="picture/4.jpg"></a> <p>诗词展示</p> </li> <li> <a href="product_xq.html"><img src="picture/5.jpg"></a> <p>诗词展示</p> </li> <li> <a href="product_xq.html"><img src="picture/6.jpg"></a> <p>诗词展示</p> </li> </ul> </div> <div class="clear"></div> <div class="wow fadeInLeft part2"> <div class="contitbox"> <label>关于我们</label> <a href="javascript:;">更多</a> </div> <div class="aboutBox"> <div class="L"><img src="picture/7.jpg"></div> <div class="R">古诗词是中华文化之瑰宝,三千年来我国诗人辈出,佳作如林。在现在的中学课本中选录了许多古代诗词,或写景或叙事,或豪放或委婉,无不是作者的精辟之作。这些优美的名人佳句,往往以简洁明了的词语表现丰富多彩、深邃的意境,让读者产生无限空间的遐想,给人以美的享受。</div> </div> </div> <div class="clear"></div> <div class="wow fadeInUp part3"> <div class="contitbox"> <label>精品展示</label> <a href="product.html">更多</a> </div> <ul> <li> <div class="pro"> <a href="product_xq.html"><img src="picture/8.jpg"></a> </div> <a href="product_xq.html"><p class="ccsl">浣溪沙</p></a> </li> <li> <div class="pro"> <a href="product_xq.html"><img src="picture/9.jpg"></a> </div> <a href="product_xq.html"><p class="ccsl">断人肠</p></a> </li> <li> <div class="pro"> <a href="product_xq.html"><img src="picture/10.jpg"></a> </div> <a href="product_xq.html"><p class="ccsl">风行江山</p></a> </li> <li> <div class="pro"> <a href="product_xq.html"><img src="picture/11.jpg"></a> </div> <a href="product_xq.html"><p class="ccsl">乙巳年</p></a> </li> <li> <div class="pro"> <a href="product_xq.html"><img src="picture/12.jpg"></a> </div> <a href="product_xq.html"><p class="ccsl">蝶恋花</p></a> </li> <li> <div class="pro"> <a href="product_xq.html"><img src="picture/13.jpg"></a> </div> <a href="product_xq.html"><p class="ccsl">桃夭</p></a> </li> <li> <div class="pro"> <a href="product_xq.html"><img src="picture/14.jpg"></a> </div> <a href="product_xq.html"><p class="ccsl">清明</p></a> </li> <li> <div class="pro"> <a href="product_xq.html"><img src="picture/15.jpg"></a> </div> <a href="product_xq.html"><p class="ccsl">子兮</p></a> </li> </ul> </div> <div class="clear"></div> <div class="main"> <div class="wow fadeInLeft part4 bg"> <div class="contitbox"> <label>最新介绍</label> <a href="javascript:;">更多</a> </div> <ul> <li><a href="detail.html" class="ccsl"> > 问句是一种语言表达的艺术,亦是古诗词中常见的表现手法。</a></li> <li><a href="detail.html" class="ccsl"> > 古典诗歌中常以问答起句,突出感情的起伏不平。</a></li> <li><a href="detail.html" class="ccsl"> > 酒、饮酒多表达豪情、悲愁、苦闷和郁郁不得志的情感。</a></li> <li><a href="detail.html" class="ccsl"> > 羌笛多传达离别之苦、相思之情和内心的孤寂。</a></li> <li><a href="detail.html" class="ccsl"> > 柳折柳 “柳”与“留”谐音,因此“柳”带有伤离别的意味。</a></li> </ul> </div> <div class="wow fadeInRight part4"> <div class="contitbox"> <label>经典语句</label> <a href="javascript:;">更多</a> </div> <ul> <li><a href="detail.html" class="ccsl"> > 山有木兮木有枝,心悦君兮君不知。</a></li> <li><a href="detail.html" class="ccsl"> > 人生若只如初见,何事秋风悲画扇。</a></li> <li><a href="detail.html" class="ccsl"> > 十年生死两茫茫,不思量,自难忘。</a></li> <li><a href="detail.html" class="ccsl"> > 曾经沧海难为水,除却巫山不是云。</a></li> <li><a href="detail.html" class="ccsl"> > 玲珑骰子安红豆,入骨相思知不知。</a></li> </ul> </div> </div> <div class="clear"></div> <div class="clear" style="height: 100px;"></div> <div class="clear"></div> <div class="clear"></div> </body> </html>
复制
💒CSS样式代码
/* CSS Document */ *{ margin:0; padding:0} ul li{ list-style:none} img{ border:0; max-width:100%} a{ text-decoration:none; color:#333} .clear{ clear:both} body{ font-family:"微软雅黑"; width:100%; min-width:1200px;color: #333;font-size: 14px; background:url(../image/bg.jpg) repeat} .ccsl{ display:block;overflow:hidden; white-space:nowrap;text-overflow:ellipsis;} p{text-align:justify} .banner{ width:100%; min-width:1200px; /*height:400px;*/ overflow:hidden; position:relative;font-size:0; margin:0 auto;} .b-img{ /*height:400px;*/ position:absolute; left:0; top:0;} .b-img img{ display:block; /*height:400px;*/ float:left;} .b-list{ height:20px; /*padding-top:380px;*/ margin:0 auto;position:relative;z-index:1;} .b-list span{ display:block;cursor:pointer; width:10px; height:10px; border-radius:50%; background:#fff; float:left; margin:0 5px; _margin:0 3px;} .b-list .spcss{ background:#d8241d} .main{ width:1004px; margin:0 auto; } .header{ width:100%; min-width:1200px; height:100px; overflow:hidden} .header img{ display:block; margin-top:10px} .nav{width:100%; min-width:1200px; height:66px; overflow:hidden; background:url(../image/nav.gif) repeat-x;} .nav ul{width:1004px; margin:0 auto; overflow:hidden} .nav ul li:first-child{ margin-left:0} .nav ul li{ float:left; width:157px;height:66px; line-height:66px; margin-left:-50px} .nav ul li a{ display:block;color: #fff;font-size: 16px; padding-left:23px } .nav ul li:hover a{ background:url(../image/nav.jpg) center center no-repeat;} .noticeBox{ width:1031px; height:115px; background:url(../image/notice.gif) no-repeat; margin:0 auto; overflow:hidden; margin-top:10px;} .noticeBox .main{ height:30px; margin-top:43px;} .noticeBox .main img{ display:block; float:left; height:30px; margin-left:18px;} .noticeBox .main .tit{ float:left; color:#fff;height:30px; line-height:30px; padding-left:10px; font-size:16px} .noticeBox .main .gg{ float:left; width:800px; height:30px; line-height:30px; overflow:hidden} .noticeBox .main .gg marquee{ color:#fff;} .part1{ width:980px; margin:0 auto; overflow:hidden; padding-top:10px;} .part1 ul{ overflow:hidden} .part1 ul li{ float:left; width:170px;margin: 0 13px 0 13px;} .part1 ul li a{ display:block;width: 140px;height: 140px;padding: 13px 15px 14px 15px;background:url(../image/probg.png) left top no-repeat} .part1 ul li a:hover{-webkit-transition: all ease-in-out .3s;transition: all ease-in-out .3s;-ms-transition: all ease-in-out .3s;transition: all ease-in-out .3s;-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)} .part1 ul li a img{border-radius: 50%; display:block;width: 140px;height: 140px;} .part1 ul li p{ text-align:center;width: 170px;text-align: center;color: #000000;font-size: 20px;} .part2{width:1004px; margin:0 auto;height: 280px;overflow: hidden;} .part2 .aboutBox{ padding-top:30px; overflow:hidden} .part2 .aboutBox .L{ float:left; width:316px; height:167px; overflow:hidden} .part2 .aboutBox .L img{ display:block;width:316px; height:167px;} .part2 .aboutBox .R{float: left;width: 664px;line-height: 28px;color: #000000;font-size: 14px; text-indent:2em; padding-left:15px;} .contitbox{ width:100%; height:37px; overflow:hidden; padding-top:25px;} .contitbox label{ float:left; background:url(../image/titbg.png) no-repeat; height:37px;color: #f7f7f7;width: 180px; padding-left:20px;font-size: 20px; line-height:37px;} .contitbox a{ float:right; display:block;background: #000;color: #f7f7f7;border-radius: 15px; width:72px; height:26px; line-height:26px;font-size: 16px; margin-top:10px; text-align:center} .part3{width:1004px; margin:0 auto;overflow: hidden;} .part3 ul{ overflow:hidden; padding-top:10px} .part3 ul li{ width:246px; height:227px; overflow:hidden; float:left; background:#78410E; margin:5px 2px} .part3 ul li .pro{width:236px;height:177px; margin:5px; overflow:hidden;} .part3 ul li .pro img{ width:236px; height:177px; overflow:hidden; display:block;transition: all 0.5s;} .part3 ul li .pro:hover img{transform: scale(1.1)} .part3 ul li p{ font-size:14px; color:#fff; height:30px; line-height:30px; text-align:center} .part4{ float:left;width: 470px;height: 245px;} .part4.bg{ padding-right:45px; background:url(../image/line.png) right top no-repeat} .part4 ul{ overflow:hidden; width:470px; padding-top:10px} .part4 ul li{width: 470px;height: 34px;line-height: 34px;font-size: 16px;} .part4 ul li a{color: #000;} .part5{width:1004px; margin:0 auto;overflow: hidden;height: 310px;} .part5 ul{ overflow:hidden; padding-top:20px} .part5 ul li{ float:left; width:246px; margin:0 2.8px;} .part5 ul li:nth-child(4){ margin-right:0} .part5 ul li img{width: 246px;height: 185px; display:block} .part5 ul li p{ color:#000; font-size:16px; height:30px; line-height:30px; text-align:center; padding-top:5px} .part5 ul li:hover{-webkit-transition: all ease-in-out .3s;transition: all ease-in-out .3s;-ms-transition: all ease-in-out .3s;transition: all ease-in-out .3s; margin-top:5px} .part5 ul li:hover img{box-shadow: 0 5px 35px rgba(0, 0, 0, 0.3);} .linksbox{width:1004px; margin:0 auto;overflow: hidden; padding-top:10px;} .linksbox .tit{height: 50px;line-height: 50px; color:#000;font-size: 16px;} .linksbox .con{ line-height:50px; font-size:16px;} .linksbox .con a{display: inline-block;padding: 0 10px;color: #000000;} .footerBox{width:100%; min-width:1004px;min-height: 230px;background:#000; margin-top:60px; } .footerBox .footL{float: left;width: 321px;height: 275px;position: relative; margin-top:-45px; background:#78410E} .footerBox .footL .tit{height: 37px;color: #f7f7f7; font-size:20px; line-height:37px;width: 186px; background:url(../image/titbg.png) center center no-repeat;margin: 25px 0 20px 20px; padding-left:20px;} .footerBox .footL ul{ overflow:hidden} .footerBox .footL ul li{ padding-left:30px; color:#fff;width: 247px; overflow:hidden;font-size: 16px;line-height: 39px;height: 39px; margin-left:20px;border-bottom: 1px dotted #000;} .footerBox .footL ul li.f1{ background:url(../image/icon.png) 0 3px no-repeat} .footerBox .footL ul li.f2{ background:url(../image/icon.png) 0 -37px no-repeat} .footerBox .footL ul li.f3{ background:url(../image/icon.png) 0 -78px no-repeat} .footerBox .footL ul li.f4{ background:url(../image/icon.png) 0 -118px no-repeat} .footerBox .footR{ float:right; width:640px; height:220px;} .footerBox .footR .telbox{ width:640px; padding-top:40px; } .footerBox .footR .telbox .tel{ height:60px;background:url(../image/tel.png) no-repeat;color:#78410E; width:270px; padding-left:50px} .footerBox .footR .telbox .tel span{font-size: 26px; line-height:1;overflow: hidden;font-family: Century Gothic; display:block} .footerBox .footR .telbox .tel b{display: block;font-size: 14px;height: 14px; font-weight:normal} .footerBox .footR .footer{ text-align:center; padding-top:20px;color: #949494; line-height:1.8} .fnav{background:#78410E;width:100%; min-width:1004px; overflow:hidden;height: 52px;line-height: 52px;} .fnav .main{ text-align:center} .fnav a{display: inline-block;padding: 0 3px;color: #fff;font-size: 16px;} .mainL{ float:left; padding-top:5px; width:240px; padding-bottom:40px} .mainL .titbox{ width:100%; height:67px; background:url(../image/titbg.jpg) no-repeat; color:#fff; font-size:24px; line-height:67px; text-align:center; margin-top:15px;} .mainL ul.typeul{ width:225px; background:#e8e8e8; overflow:hidden} .mainL ul.typeul li{width: 195px; margin:0 auto;} .mainL ul.typeul li .typeone{ width:100%; font-size:16px; height:44px; line-height:44px; background:url(../image/libg.gif) center top no-repeat} .mainL ul.typeul li .typeone a{ color:#000; padding-left:30px;} .mainL ul.typeul li .typeone .arrow{display: block;width: 20px; height: 20px;float: right;overflow: hidden;cursor: pointer;margin-top: 10px;} .mainL ul.typeul li .typeone .arrow.up{background: url(../image/add.png) right no-repeat;margin-right: 10px;} .mainL ul.typeul li .typeone .arrow.down{background: url(../image/cut.png) right no-repeat;margin-right: 10px} .mainL ul.typeul li .typetwo{padding: 5px 0 0 43px; display:none} .mainL ul.typeul li .typetwo a{ display:block;line-height: 36px;font-size: 13px;color: #6c6b6b;padding-left: 20px;} .mainL ul.newsul{width:225px; background:#e8e8e8; overflow:hidden;padding-bottom: 20px; padding-top: 20px;} .mainL ul.newsul li{width: 195px; margin: 0 auto; height:33px; line-height:33px; background:url(../image/jian.gif) left center no-repeat;} .mainL ul.newsul li a{ padding-left:10px;font-size: 14px;color: #000000;} .mainL ul.newsul li a:hover{ text-decoration:underline} .mainL .lxwm{width:225px; background:#e8e8e8; overflow:hidden} .mainL .lxwm .con{ color: #000;font-size: 14px;padding-bottom: 20px;line-height: 25px;width: 203px;margin: 0 auto; padding-top:20px;} .mainR{ float:right; padding-top:20px;width: 742px;padding-bottom:40px} .brandnavbox{height: 45px; background:url(../image/line.gif) left bottom no-repeat;overflow: hidden;margin-bottom: 15px;} .brandnavbox h2{font-size: 22px;height:45px; line-height:45px;overflow: hidden;width: 200px;font-weight: normal;color: #000; float:left} .brandnavbox .con{ float:right;font-size: 14px;color: #000;height:45px; line-height:45px;} .detailbox{} .detailbox .xq{} .detailbox .xq .tit{ padding-top:14px; font-size:16px; line-height:30px; color:#000; text-align:center} .detailbox .xq .date{color: #999; text-align:center; font-size:12px; line-height:24px} .detailbox .xq img{ display:block; margin:0 auto; margin-top:10px; } .detailbox .xq .con{ padding-top:10px} .detailbox .xq .con p{ text-indent:2em; line-height:2} .formBox{ width:390px; margin:0 auto; overflow:hidden; padding-top:20px} .formBox .inputbox{ height:36px; line-height:36px; margin-top:20px;} .formBox .inputbox label{ width:80px; float:left; font-size:14px; color:#000;height:36px; line-height:36px;} .formBox .inputbox label span{ color:#cc0000; padding-right:8px} .formBox .inputbox input{ width:305px; float:right; height:36px; line-height:36px; border:1px solid #e0e0e0; box-sizing: border-box;font-size:14px; color:#999; padding-left:10px} .formBox .inputbox input.yzm{ float:right; width:172px} .formBox .inputbox .yzmimg{ float:right; width:123px; height:36px; margin-left:10px} .formBox .inputbox .btn1{ width:100px; height:36px; line-height:36px; border:1px solid #e0e0e0; box-sizing: border-box;font-size:14px; color:#fff; text-align:center; background:#E4393C; float:left;border-radius:4px; cursor:pointer; outline:none; letter-spacing:1px; padding:0} .formBox .inputbox2{ min-height:36px; line-height:36px; margin-top:20px; overflow:hidden} .formBox .inputbox2 label{ width:80px; float:left; font-size:14px; color:#000;height:36px; line-height:36px;} .formBox .inputbox2 label span{ color:#cc0000; padding-right:8px} .formBox .inputbox2 textarea{ width:305px; float:right; height:80px;line-height:36px; border:1px solid #e0e0e0; box-sizing: border-box;font-size:14px; color:#999; padding-left:10px} .pagebox{ text-align:center; padding-top:10px; padding-bottom:50px} .pagebox a{ border:1px solid #ccc; padding:5px 10px; display:inline-block; color:#333; margin:3px} .pagebox a:hover{ border:1px solid #78410E; color:#78410E} ul.listul{ padding:12px 0;overflow:hidden} ul.listul li{border-bottom: 1px dashed #ccc;width: 100%;padding: 5px 0;height: 30px;font: 14px/30px "microsoft yahei";color: #737373;} ul.listul li a{width: 600px;height: 30px;line-height: 30px;display:block;overflow:hidden; white-space:nowrap;text-overflow:ellipsis; float:left; margin-left:12px} ul.listul li span{float: right;margin-right: 12px;} ul.listul li:hover a{transition: all 0.2s ease-in-out 0s;text-indent: 20px;color: #ac0909;} ul.piclistul{padding:12px 0;overflow:hidden} ul.piclistul li{ width:234px; float:left; margin-right:20px;} ul.piclistul li:nth-child(3n){ margin-right:0} ul.piclistul li img{ display:block;width: 228px;height: 186px;border: 3px solid #fff;} ul.piclistul li p{ text-align:center; height:42px; line-height:42px; font-size:14px;}
复制
六、🥇 如何让学习不再盲目
第一、带着目标去学习,无论看书报课还是各种线下活动。
首先要明确自己的学习目标是什么,是想解决什么问题,实现怎样的目标。
第二、学习要建立个人知识体系
知识是学不完的,书籍是浩如烟海的。我们尽情徜徉其中的时候,千万不要被海水淹死,没有自我了。在学习过程中,我们会发现每一个知识点都是有她的边界和背景的,我们要善于归纳整理知识
第三、学到了就要用到
有时,我们一天下来感觉学到了很多干货,那么我们一定要将这些知识点和实际工作和生活联系起来。知识和实践相互联系靠拢。爱学习是一件好事,但只有会学习的人,才有价值。
七、🎁更多干货
1.如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “👍点赞” “✍️评论” “💙收藏”
一键三连哦!
2.💗【👇🏻👇🏻👇🏻关注我| 💬获取更多源码 | 优质文章】
带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!
3.
以上内容技术相关问题💌欢迎一起交流学习👇🏻👇🏻👇🏻💬