
HTML做一个学校网站(纯html代码)
一、👨🎓网站题目
🏫 校园网页设计 、学校班级网页制作、学校官网、小说书籍、等网站的设计与制作。
二、✍️网站描述
🏷️HTML静态网页设计作业使用dreamweaver制作,采用DIV+CSS布局,共有多个页面,首页使用CSS排版比较丰富,色彩鲜明有活力。顶部导航及底部区域背景色为100%宽度,主体内容区域宽度
🏅 一套优质的💯网页设计应该包含 (具体可根据个人要求而定)
- 页面分为页头、菜单导航栏(最好可下拉)、中间内容板块、页脚四大部分。
- 所有页面相互超链接,可到三级页面,有5-10个页面组成。
- 页面样式风格统一布局显示正常,不错乱,使用Div+Css技术。
- 菜单美观、醒目,二级菜单可正常弹出与跳转。
- 要有JS特效,如定时切换和手动切换图片轮播。
- 页面中有多媒体元素,如gif、视频、音乐,表单技术的使用。
- 页面清爽、美观、大方,不雷同。 。
- 不仅要能够把用户要求的内容呈现出来,还要满足布局良好、界面美观、配色优雅、表现形式多样等要求。
三、📚网站介绍
📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。
📓网站程序方面:计划采用最新的网页编程语言HTML5+CSS3+JS程序语言完成网站的功能设计。并确保网站代码兼容目前市面上所有的主流浏览器,已达到打开后就能即时看到网站的效果。
📘网站素材方面:计划收集各大平台好看的图片素材,并精挑细选适合网页风格的图片,然后使用PS做出适合网页尺寸的图片。
📒网站文件方面:网站系统文件种类包含:html网页结构文件、css网页样式文件、js网页特效文件、images网页图片文件;
Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++四、🌐网站演示
五、⚙️ 网站代码
🧱HTML结构代码
💒CSS样式代码
/* 轮播图样式 */
#boxhdp {
position: relative;
top: 0px;
width: 1500px;
height: 270px;
margin: 0 auto;
overflow: hidden;
position: relative;
font-size: 0px;
}
#img>li {
width: 100%;
float: left;
text-align: center;
display: none;
}
#img>li img {
width: 100%;
}
#img>.current {
display: block;
}
#li {
position: absolute;
left: 50%;
bottom: 15px;
margin-left: -35px;
}
#li>li {
width: 10px;
height: 10px;
background-color: #ccc;
border-radius: 50%;
margin-right: 5px;
float: left;
cursor: pointer;
}
#li>.on {
background-color: #f50;
}
#an {
display: none;
}
#an a {
position: absolute;
top: 50%;
width: 40px;
height: 46px;
background-color: rgba(0, 0, 0, 0.108);
line-height: 40px;
color: #fff;
}
#an a:hover {
background-color: rgba(0, 0, 0, 0.293);
}
#an .an-a2 {
right: 0;
}
#an img {
position: relative;
width: 30px;
left: 5px;
top: 7px;
}
/* 新闻公告样式 */
#main_msg {
padding-top: 20px;
width: 1340px;
margin: 0 auto;
display: flex;
}
#main_msg_left {
width: 460px;
}
#msgtitle {
width: 460px;
height: 43px;
border-bottom: 1px solid #F7561E;
position: relative;
display: flex;
}
#msgtitle div {
display: inline-block;
display: flex;
}
#msgtitle div img {
width: 20px;
height: 20px;
}
#firstdiv {
width: 140px;
background-color: #F7561E;
color: #fff;
line-height: 42px;
}
#firstdiv img {
position: relative;
top: 12px;
left: 20px;
}
#firstdiv p {
width: 100%;
text-align: center;
}
#lastdiv {
width: 140px;
background-color: #DDDDDD;
margin-left: 10px;
color: #4C4C4C;
line-height: 42px;
}
#lastdiv img {
position: relative;
top: 12px;
left: 20px;
}
#lastdiv p {
width: 100%;
text-align: center;
}
#more {
height: 14px;
position: absolute;
right: 0px;
bottom: 3px;
}
#xinwen_list {
width: 100%;
}
#xinwen_list ul {
width: 100%;
padding-top: 30px;
}
#xinwen_list ul li {
position: relative;
width: 100%;
display: flex;
height: 30px;
font-size: 14px;
color: #57575e;
}
#xinwen_list ul li:hover {
color: #F75666;
}
#xinwen_list ul li p:last-child {
position: absolute;
right: 0px;
}
#main_msg_main {
width: 460px;
margin-left: 50px;
}
#main_msg_right {
width: 315px;
margin-left: 50px;
position: relative;
}
#title_img {
width: 100%;
position: relative;
font-size: 0px;
}
#title_img img {
width: 100%;
height: 155px;
}
#img_title {
width: 100%;
position: absolute;
bottom: 0px;
height: 33px;
background-color: rgba(0, 0, 0, 0.476);
color: #fff;
line-height: 33px;
font-size: 14px;
}
#img_title p {
margin-left: 10px;
}
#img_title ul {
height: 29px;
padding-top: 2px;
padding-bottom: 2px;
position: absolute;
display: flex;
right: 20px;
bottom: 0px;
}
#img_title ul li {
color: black;
text-align: center;
line-height: 24px;
margin-top: 3px;
width: 24px;
height: 24px;
background-color: #fff;
margin-left: 5px;
}
#img_title ul li:hover {
background-color: #F7561E;
color: #fff;
}
.zhuanti_title {
position: relative;
width: 100%;
border-bottom: 1px solid #F7561E;
height: 25px;
padding-top: 10px;
padding-bottom: 10px;
display: flex;
line-height: 45px;
}
.zhuanti_title img:first-child {
position: relative;
width: 20px;
height: 20px;
top: 15px;
}
#footer {
width: 100%;
height: 95px;
background-color: #F7561E;
margin-top: 30px;
}
#footer_box {
width: 1340px;
margin: 0 auto;
height: 100%;
display: flex;
color: #fff;
}
.gongneng {
margin-top: 15px;
margin-left: 20px;
margin-right: 14px;
}
.gongneng:hover {
color: #CCCCCC;
}
#lianjie {
margin-left: 20px;
}
#youqinglianjie {
height: 100%;
line-height: 47px;
font-size: 14px;
color: #fff;
}
#youqinglianjie a {
color: #fff;
padding-left: 20px;
text-decoration: none;
}
.contur {
padding-top: 20px;
margin-left: 30px;
}
#footerbanquan {
width: 100%;
background-color: #353535;
color: #fff;
text-align: center;
font-size: 12px;
line-height: 24px;
}
#footerbanquan a {
color: #fff;
}
六、🥇 如何让学习不再盲目
第一、带着目标去学习,无论看书报课还是各种线下活动。
首先要明确自己的学习目标是什么,是想解决什么问题,实现怎样的目标。
第二、学习要建立个人知识体系
知识是学不完的,书籍是浩如烟海的。我们尽情徜徉其中的时候,千万不要被海水淹死,没有自我了。在学习过程中,我们会发现每一个知识点都是有她的边界和背景的,我们要善于归纳整理知识
第三、学到了就要用到
有时,我们一天下来感觉学到了很多干货,那么我们一定要将这些知识点和实际工作和生活联系起来。知识和实践相互联系靠拢。爱学习是一件好事,但只有会学习的人,才有价值。
七、🎁更多干货
请 “👍点赞” “✍️评论” “💙收藏”
💗【👇🏻👇🏻👇🏻关注我| 💬获取更多源码 | 优质文章】
3.


