📂文章目录

  • ​​一、👨‍🎓网站题目​​
  • ​​二、✍️网站描述​​
  • ​​三、📚网站介绍​​
  • ​​四、💠网站演示​​
  • ​​五、⚙️ 网站代码​​
  • ​​🧱HTML结构代码​​
  • ​​💒CSS样式代码​​
  • ​​六、🥇 如何让学习不再盲目​​
  • ​​七、🎁更多干货​​

一、👨‍🎓网站题目

👨‍⚕️ 抗击疫情致敬逆行者感人类题材、致敬逆行者网页设计作品、大学生抗疫感动专题网页设计作业模板、等网站的设计与制作。


二、✍️网站描述

🏷️抗击疫情致敬逆行者感人类题材网页设计作品采用DIV CSS布局制作,共多个页面:网站首页、感动人物、动人瞬间、感人视频、感动图集、感动新闻页面。,使用CSS设置了网页背景颜色,制作了导航区域鼠标经过荧光效果。个别页面插入了感人MP4视频。作品代码采用学生简单水平制作,DIV命名合理。

🏅 一套优质的💯网页设计应该包含 (具体可根据个人要求而定)

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

三、📚网站介绍

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

📓网站程序方面:计划采用最新的网页编程语言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大学生抗疫感动专题网页项目的设计与实现_css


五、⚙️ 网站代码

🧱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" />
<title>全球xx</title>
<link href="css/style.css" type="text/css" rel="stylesheet" />
</head>

<body>
<div id="top">
<div class="top_tu"> </div>
</div>
<div id="main">
<div class="nav">
<div class="nav_c"><a href="index.html" >网站首页</a> <a href="zhong.html" >中xx情</a> <a href="quan.html" >全球疫情</a> <a href="jin.html" >图片锦集</a><a href="yuanzhu.html" >援助他国</a><a href="liuyan.html" >在线留言</a></div>
</div>
<div class="main_m">
<div class="two_pho">
<div class="banner"><img src="images/banner.jpg" width="960" /></div>
<h1 style="font-size:20px; color:#f00;">x肺炎</h1>
<p style="line-height:32px;"><img src="images/a4.jpg" width="360" style="float:right;"/>  新型xxxxna Virus Disexxx“新冠肺炎”,xxx [1-2] ,是指2019新型冠状病毒感染xx。xx2019年12月以来,湖北省武汉市部分医x场暴露史的不明原因肺炎病例,xxx现已证实为20xxx染病。 <br />
2020年2月11日,世界卫x,将新xxx状病xx染的肺炎x月21日,国家x了关于修xxx订xxx型冠xxxxx,x根据评估,x组xx冠x疫情可被称x行(pandemic)。 [10]
为表达全国各xxxxxx活动。在此期间,全xx使领xxxx国停止公共娱xxx月4日10时起,xx民xxxx,汽车、火车、舰x空x响。<br />
</p>
<br />
<br />
<table width="960" border="0" cellspacing="10" cellpadding="10">
<tr>
<td><img src="images/a2.jpg" /></td>
<td><img src="images/a3.jpg" /></td>
</tr>
</table>
<br />
<br />
</div>
<div style="clear:both"></div>
</div>
<div class="footer bai"> 全球xxx</div>
</div>

</body>
</html>


💒CSS样式代码


@charset "UTF-8";
/* CSS Document */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{ margin:0; padding:0; font-family:Arial;}
body{ font:12px/1.5 Arial '宋体'; background:#a3deee}
table{ border-collapse:collapse; border-spacing:0;}
fieldset,img{ border:0;}
address,caption,cite,code,dfn,em,th,var{ font-style:normal; font-weight:normal;}
ol,ul{ list-style:none; line-height:0px;}
caption,th{ text-align:left;}
h1,h2,h3,h4,h5,h6{ font-size:100%; font-weight:normal;}
q:before,q:after{ content:'';}
abbr,acronym{ border:0;}
q:before,q:after,blockquote:before,blockquote:after{content:"";}
sup{vertical-align:text-top;}
sub{vertical-align:text-bottom;}
input{font-family:inherit; font-size:inherit; *font-size:100%; font-weight:inherit; line-height: 23px; height: 21px; border: 1px solid #dddddd;}
*{ margin:0px; padding:0px;list-style-type:none;}
textarea{font-family:inherit; font-size:inherit; *font-size:100%; font-weight:inherit; line-height: 23px; border: 1px solid #dddddd; overflow-y:hidden; overflow-x:hidden; padding: 5px;}
a,img{border:0;}
em{font-style:normal;}
.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
.clearfix{display:inline-table;}
*html .clearfix{height:1%;}
.clearfix{display:block;}
*+html .clearfix{min-height:1%;}
.cl{ clear:both; line-height:0px;}
.red,.red a{ color:#b30303; text-decoration:none;}
.red a:hover{ color:#f60; text-decoration:none;}
.bai,.bai a{ color:#fff; text-decoration:none;}
.bai a:hover{ color:#f60; text-decoration:none;}
.hui,.hui a{color:#828181!important;text-decoration:none;}
.hui a:hover{color:#F60!important;text-decoration:none;}
.hui8,.hui8 a{color:#333!important;text-decoration:none;}
.hui8 a:hover{color:#F60!important;text-decoration:none;}
.blue3,.blue3 a{color:#0a5aa1;text-decoration:none;}
.blue3 a:hover{ color:#F60;}
.blue4,.blue4 a{color:#4966de;text-decoration:none;}
.blue4 a:hover{ color:#F60;}
.huang,.huang a{color:#f60;text-decoration:none;}
.huang a:hover{ color:#F60;}
.time{ float:right; line-height:26px; font-size:12px; color:#828181;}
.more{ float:right; font-size:14px; color:#0a5aa1; font-weight:100;}
.more1{ width:44px; float:right; height:15px; margin-top:8px; margin-right:10px;}
.more2{ width:108px; float:right; height:21px; margin-top:4px; margin-right:10px;}
.m_l{ margin-left:49px;}
.m_l1{ margin-left:25px;}

#top{ width:100%; height:120px; background:#0092d2;}
#top_t{ width:100%; height:26px; background:url("../images/img1.jpg") repeat-x left top;}
.top_tu{ width:1024px; height:120px; margin:0 auto; background:url("../images/img4.jpg") no-repeat;}
.top_left{ width:213px; height:118px; margin-top:1px; float:left;}
.top_right{ width:283px; height:120px; margin-left:100px; float:left;}
#main{ width:100%;}
.banner{ width:960px; margin:0 auto; height:400px; margin-top:6px;}
.main_m{ width:1024px; margin:0 auto;}
#main_left{ width:120px; float:left;}
#main_left ul{ margin:0px; padding:0px;}
#main_left ul li a{ display:block; width:120px; height:33px; background:#9eca6c; margin:10px 0px; font-size:14px; font-weight:bold; line-height:33px; text-align:center; color:#fff;}
#main_left ul li a:hover{ background:#578028;}
#main_midd{ width:800px; float:left; margin-left:40px;}
#main_midd h1{ height:45px; text-align:center; line-height:45px; font-size:18px; font-weight:bold; color:#074e7b;}
.midd_nr{ width:800px;}
.midd_right{ width:64px; float:right; margin-top:17px;}

.footer{ width:1024px; margin:20px auto 0px; color:#fff; border-top:1px solid #5d9aab; font-size:12px; text-align:center; line-height:30px; font-weight:100; }

/*二级页面*/
.two{ float:right; background:#fff; margin-top:17px; text-align:center;}
.two h1{ margin-top:30px; line-height:35px; font-size:18px; font-weight:bold; text-align:center; color:#603d1a;}
.two img { width:400px; height:300px; margin:20px 0px;}
.two h2{ padding:0px 20px; text-align:left; line-height:30px; font-size:12px; font-weight:bold; color:#603d1a;}
.two p{ text-align:left; padding:20px; font-size:12px; margin-top:15px; text-align:left; line-height:25px; text-indent:2em;}


/*二级图片页面*/
.two_pho{ width:960px; float:right; padding:20px; background:#fff; margin-top:17px;}
.two_pho h1{ padding-left:20px; line-height:35px; font-size:18px; font-weight:bold; text-align:left;}
.two_pho h1 a{ margin:0px 10px 0px 0px; color:#000; font-size:14px;}
.two_photo{ margin:0px 17px; width:261px; float:left; padding:10px; font-size:12px; line-height:25px; text-align:left; color:#603d1a;}
.two_photo img{ width:249; padding:5px; border:1px solid #603d1a; background:#fff;}
.two_pho p{ color:#603d1a; margin:0px 30px;}

/*主要分类*/
.two_lei{ width:844px; float:right; padding:20px; background:#fbe5a9; margin-top:17px;}
.two_lei h1{ margin-top:20px; line-height:35px; font-size:18px; font-weight:bold; text-align:center; color:#603d1a;}
.two_leijie{ width:822px; border:1px solid #ff9a00; background:#ffe8c5; margin-top:15px; padding:10px; text-align:left; line-height:25px; font-size:12px; font-weight:100;}
.two_lei h2{ padding:0px; margin-top:20px; text-align:center; line-height:30px; font-size:16px; font-weight:bold; color:#603d1a;}
.two_lei p{ padding:0; font-size:12px; margin-top:15px; text-align:left; line-height:25px; text-indent:2em;}
.two_lei img { width:400px; height:300px; margin:20px 0px; padding-left:240px;}

/*视频*/
.vid{ width:249; padding:5px; border:1px solid #603d1a; background:#fff;}
.video{ width:844px; float:right; padding:20px; background:#FBE5A9; margin-top:17px;}
.video h1{ margin-top:30px; line-height:35px; font-size:18px; font-weight:bold; text-align:center; color:#603d1a;}
.video_v{ width:822px; margin-top:15px; padding:11px; text-align:left; line-height:25px; font-size:12px; font-weight:100;}
.video h2{ padding:0px; margin-top:20px; text-align:center; line-height:30px; font-size:16px; font-weight:bold; color:#603d1a;}
.video p{ padding:0; font-size:12px; margin-top:15px; text-align:left; line-height:25px; text-indent:2em;}

/*网站合作*/
.hezuo{ width:844px; float:right; padding:20px; background:#dedfce; margin-top:17px;}
.hezuo h1{margin-top:20px; line-height:35px; font-size:18px; font-weight:bold; text-align:left; color:#603d1a;}
.hezuo_r{width:844px; margin:20px 0px; padding:0px 0px 20px 0px; border-bottom:1px dashed #CC6;}
.hezuo_r ul{ margin:0px; padding:0px;}
.hezuo_r ul li{ width:211px; float:left; line-height:25px; font-size:12px; text-align:left; color:#603d1a;}

/*联系我们*/
.lianxi{ width:844px; float:right; padding:20px; background:#dedfce; margin-top:17px;}
.lianxi h1{margin-top:20px; line-height:35px; font-size:18px; font-weight:bold; text-align:left; color:#603d1a;}
.lianxi_xi{width:822px; border:1px solid #ff9a00; background:#ffe8c5; margin-top:15px; padding:10px; text-align:left; line-height:25px; font-size:12px; font-weight:100;}

/*网络营销*/
.yinxiao{ width:844px; float:right; padding:20px; background:#dedfce; margin-top:17px;}
.yinxiao h1{margin-top:20px; line-height:35px; font-size:18px; font-weight:bold; text-align:left; color:#603d1a;}
.yinxiao h2{padding:0px; margin-top:20px; text-align:left; border-bottom:1px dashed #603d1a; line-height:30px; font-size:16px; font-weight:bold; color:#603d1a;}
.yinxiao p{ padding:0; font-size:12px; margin-top:15px; text-align:left; line-height:25px; text-indent:2em;}

.fh{ margin:20px 0px 20px 450px;}
.fh a{ display:block; width:100px; height:30px; background:#963; color:#fff; text-align:center; line-height:30px;}
.nav{ height:40px; background:#074e7b; line-height:40px;}
.nav a{ text-decoration:none; font-size:14px; color:#fff; display:block; float:left; width:100px; text-align:center; height:40px;}
.nav a:hover{ color:#074e7b; background:#fff;}
.nav_c{ width:1000px; margin:0px auto;}
.btn{ padding:10px; line-height:26px; color:#000; background:#fff; border:5px solid #9eca6c; width:120px; height:290px; margin:45px 0px 10px;}
.btn h2{ font-family:"微软雅黑"; font-size:16px; color:#9eca6c; margin:5px 10px; font-weight:bold;}
.main{ background:#fff; text-align:center; padding:20px 0px;}
.main h2{ text-align:center; font-size:24px; font-weight:bold;}
.main p{ text-align:left; padding:10px 30px; line-height:24px;}



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

21年程序员总结给编程菜鸟的16条忠告

  1. 入门期间不要盲目看太多书,找一本网上或身边有经验程序员推荐的教材,先系统的学习。
  2. 多看帮助文档,帮助文档就像一个游戏的玩法说明通关秘籍,该看就看别太自信。
  3. 菜鸟容易被对象、属性、方法等词汇迷惑?那是你连最基础知识都还没掌握。
  4. 不要忽视没一个看起来不起眼的问题,经常总结做到举一反三。
  5. 没积累足够知识和经验前,你是开发不出一个完整项目的。
  6. 把最新技术挂在嘴边,还不如把过时技术牢记心中。
  7. 活到老学到老,只有一招半式是闯不了江湖的。
  8. 看得懂的书,仔细看;看不懂的书,硬着头皮也要看完。
  9. 书读百遍其义自见,别指望读一遍就能掌握。
  10. 请把教程里的例子亲手实践下,即使案例中有完整源码。
  11. 把在教程中看到的有意义的例子扩充;并将其切实的运用到自己的工作中。
  12. 不要漏掉教程中任何一个习题——请全部做完并做好笔记。
  13. 水平是在不断的实践中完善和发展的,你与大牛差的只是经验的积累。
  14. 每学到一个难点的时候,尝试对朋友或网上分享你的心得,让别人都能看得懂说明你真的掌握。
  15. 做好保存源文件的习惯,这些都是你的知识积累。
  16. 遇到问题不要张口就问,要学会自己找答案,比如google、百度和w3cschool上都有很多编程相关资料,你只要输入关键字就能找到你的答案。