web网页设计:基于HTML+CSS+JavaScript我的学校设计毕业论文源码



【作者主页——🔥获取更多优质源码】
【学习资料/简历模板/面试资料/ 网站设计与制作】
【web前端期末大作业——🔥🔥毕设项目精品实战案例】


# 一、👨‍🎓网站题目 🏫 校园班级网页设计 、👨‍🎓我的班级网页、我的学校、👩‍🎓校园社团、校园运动会、等网站的设计与制作。

二、✍️网站描述

🏷️HTML我的班级网页设计,采用DIV+CSS布局,共有多个页面,排版整洁,内容丰富,主题鲜明,首页使用CSS排版比较丰富,色彩鲜明有活力,导航与正文字体分别设置不同字号大小。导航区域设置了背景图。子页面有纯文字页面和图文并茂页面。

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

  1. 页面分为页头、菜单导航栏(最好可下拉)、中间内容板块、页脚四大部分。
  2. 所有页面相互超链接,可到二三级页面,有多页面组成。
  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结构代码

<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="css/style.css" />

</head>
<body>
<div class="main" >

<div  class="content12">
<div class="daohang">





<div class="img"><img src="images/1.jpg"></div>
 


<ul>
<li class="active"><a href="index.html">首页</a>
</li>
<li ><a href="xiaoyuanshenghuo.html">校园生活</a></li>
<li ><a href="xiaoyuanhuodong.html">校园活动</a></li>
<li ><a href="liuyan.html">留言</a></li>
<li ><a href="zhucedenglu.html">注册登录</a></li>
 
</ul>





</div>
</div>
<div class="clear"></div>

<div  class="content12">
<div class="guanggaotupian">


<div class="img">
<img src="images/2.jpg"></div>
 

</div>
</div>
<div class="clear"></div>

<div  class="content9">
<div class="taitou">

<div class="title">
<div class="stitle">校园生活</div> 
</div>
 
</div>
<div class="xysh">







<ul>
<li>
<div class="img"><img src="images/3.jpg"></div>
<div class="desc">
<div class="title">难忘生命中的那些泪水</div>
<div class="clear"></div>
<br>除了看电影看到很感人的情节之外,这么多年来,在生活中,我已经很久没有流过泪了。“坚定”和“信念”是理性之人的名字。我也算个理性的人,太理性,以至于生活中缺少了很多激动。</div>
</li>
<li>
<div class="img"><img src="images/4.jpg"></div>
<div class="desc">
<div class="title">希望我们能够也越来越好</div>
<div class="clear"></div>
<br>学院网 讯第二天教学,和孩子们的交流更进一步,孩子们很快就和我打成了一片,在他们的眼里,我的一切都是新鲜的。</div>
</li>
<li>
<div class="img"><img src="images/5.jpg"></div>
<div class="desc">
<div class="title">支教活动中的最后一节美术课了</div>
<div class="clear"></div>
<br>学院网 讯今天是7月19日。这是支教活动中的最后一节美术课了,这节课我觉得非常可贵,孩子们已经完成画画好几次了,她们的画作已经有一些进步了。</div>
</li>
<li>
<div class="img"><img src="images/6.jpg"></div>
<div class="desc">
<div class="title">看到他们脸上的笑容就觉得仿佛他们拥有全世界</div>
<div class="clear"></div>
<br>学院网 讯今天是此次支教的倒数第三天,我们也从今天开始了紧张的文艺汇演的排练。</div>
</li>
 
</ul>









</div>
</div>

<div  class="content3">
<div class="taitou">

<div class="title">
<div class="stitle">校园活动</div> 
</div>
 
</div>
<div class="xyhd">








<div class="img"><img src="images/7.jpg"></div>

<div class="text">
<div class="title">社团招新</div>
<div class="clear"></div>
<div class="desc"></div>

<span class="more">查看详情</span>
</div>



<div class="img"><img src="images/8.jpg"></div>

<div class="text">
<div class="title">志愿者活动</div>
<div class="clear"></div>
<div class="desc">
志愿者(Volunteer)联合国定义为“自愿进行社会公共</div>

<span class="more">查看详情</span>
</div>


 










</div>
</div>
<div class="clear"></div>

<div  class="content12">
<div class="dibu">

<div class="desc">
我的校园 
</div>


</div>
</div>
<div class="clear"></div></div></body></html>



💒CSS样式代码

@charset "utf-8";
*{margin:0;padding:0;}
body{margin:0 auto}
.clear{ clear:both;}
a{color:#333;text-decoration:none;}
a:hover{text-decoration:underline;}
li{list-style-type:none;}
img{width:auto;max-width:100%;}
.main{width:1200px;margin:0 auto;overflow:visible;}

.content12{width:1200px;margin:0 auto;}


.daohang {
width:1200px;background:#000000;float:left;

}
.daohang .img{
width:226px;
float:left;

}

.daohang .img img{
width:200px;height:90px;
float:left;
}



.daohang ul{
width:934px;
background:#000000;float:left;
}

.daohang ul li{
float:left;
width:100px; 
text-align:center;
height:90px;line-height:90px;color:#fff;position: relative;
}


.daohang ul li a.active{
color:#fff;}
.daohang ul li a{
color:#fff;}
 
.daohang li:hover a{
color:#fff;}









.guanggaotupian
{
text-align:center;

}
.guanggaotupian img
{
width:1200px;

}





.content9{width:900px;float:left;}


.taitou .title{



border-bottom-color:#000000;border-bottom-style:solid;border-bottom-width:1px;



overflow:hidden;
margin-bottom:10px;
margin-top:10px;
margin-left:10px;
margin-right:10px;
}
.taitou .stitle{text-align:center;padding:10px 20px;font-weight:bold;float:left;


color:#ffffff;background:#000000;
border-radius:10px 10px 0px 0px;
}




.xysh ul
{
width:900px;float:left;
}
.xysh ul li
{
width:430px;
padding:10px;
float:left;
}
.xysh ul li .img
{
width:162px;padding:0px  5px;
height:210px;float:left;
}
.xysh ul li img
{
width:162px;height:210px;}

.xysh ul li .desc
{
width:248px;height:200px;overflow:hidden;float:left;
text-align:left;
padding:5px;
}

.xysh ul li .title{margin:10px 0px;

}





.content3{width:300px;float:left;}


.xyhd
{
width:300px;}


.xyhd .img
{
width:102px;padding:0px  5px;
float:left;
}
.xyhd  img
{
width:102px;height:190px;}

.xyhd .text
{
width:158px;height:180px;overflow:hidden;float:left;
text-align:left;padding:5px;
margin-top:20px;
margin-bottom:20px;
}

.xyhd  .desc{
padding:10px 0px;
}
.xyhd  .title{
font-weight:bold;
padding-top:10px;
font-size:18px;
}
.xyhd  .more{
padding:5px 0px;
color:#333333;
font-size:14px;
border-bottom:1px solid #333333;
}





.dibu .desc
{

text-align:center;color:#ffffff;
background:#000000;padding:20px 0px;
margin-top:10px;
}

.dibu img
{


}



.xiaoyuanshenghuoliebiao table
{
width:1180px;}



.xiaoyuanshenghuoliebiao table .img
{
width:280px;height:200px;}
.xiaoyuanshenghuoliebiao table .img img
{
width:270px;padding:5px;
height:190px;}

.xiaoyuanshenghuoliebiao table   .title{
margin:10px 0px;
font-weight:bold;
font-size:16px;
}

.xiaoyuanshenghuoliebiao table   .desc
{
width:280px;text-align:left;padding:5px;
}










.xiaoyuanhuodongliebiao ul
{
width:1200px;
}
.xiaoyuanhuodongliebiao ul li
{
width:1180px;padding:10px;
float:left;
}
.xiaoyuanhuodongliebiao .active
{
background:#000000;}
.xiaoyuanhuodongliebiao .active .title
{
color:#ffffff;
}

.xiaoyuanhuodongliebiao .active .desc
{
color:#ffffff;
}



.xiaoyuanhuodongliebiao ul li img
{
width:344px;padding:5px;
height:200px;float:left;
}
.xiaoyuanhuodongliebiao ul li .title{margin:10px 0px;
font-weight:bold;
font-size:16px;
}
.xiaoyuanhuodongliebiao ul li .desc
{
width:796px;text-align:left;float:left;
padding:5px;
margin-left:20px;
}
.xiaoyuanhuodongliebiao ul li button
{
display:block;
text-align:left;
padding:5px 10px;
margin-top:20px;

}











.liuyanbiaodan 
{
width:1200px;text-align:left;
margin:0 auto;

}

.liuyanbiaodan form
{
line-height:40px;border-bottom-color:#000000;border-bottom-style:solid;border-bottom-width:0px;border-top-color:#000000;border-top-style:solid;border-top-width:0px;border-left-color:#000000;border-left-style:solid;border-left-width:0px;border-right-color:#000000;border-right-style:solid;border-right-width:0px;
}
.liuyanbiaodan select{
text-align:left;
margin:0px 10px;
overflow:hidden;
vertical-align:middle;
height:40px;height:40px;line-height:40px;border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;
}

.liuyanbiaodan checkbox,radio{
text-align:left;
margin:0px 10px;

overflow:hidden;
vertical-align:middle;
height:40px;height:40px;line-height:40px;border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;
}


.liuyanbiaodan input{
text-align:left;
margin:0px 10px;
overflow:hidden;
vertical-align:middle;
height:40px;line-height:40px;border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;

}


.liuyanbiaodan textarea{
text-align:left;
margin:0px 10px;
overflow:hidden;
vertical-align:middle;
height:40px;line-height:40px;border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;

}


.liuyanbiaodan .title
{
margin:0px 10px;
}
.liuyanbiaodan button{
margin:10px 0px  0px 10px;
text-align:center;
line-height:40px;height:40px;line-height:40px;border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;
}

.liuyanbiaodan .form{
width:1168px;border-radius:25px;
padding:15px;
margin:0 auto;
}
.liuyanbiaodan .input{
width:1140px;margin-bottom:10px;
padding-left:10px;
color:#999999;
}
.liuyanbiaodan .checkbox{
width:auto;

}
.liuyanbiaodan .radio{
width:auto;
}
.liuyanbiaodan .select{
width:1150px;}
.liuyanbiaodan .textarea{
width:1150px;height:130px;
color:#999999;
}
.liuyanbiaodan .submit{
width:1150px;}



.yonghubiaodan 
{
width:1200px;

}

.yonghubiaodan  form
{

line-height:40px;
}
.yonghubiaodan select{
width:1180px;text-align:left;
margin:0px 10px;
overflow:hidden;
vertical-align:middle;
height:40px;height:40px;line-height:40px;border-bottom-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#000000;border-top-style:solid;border-top-width:1px;border-left-color:#000000;border-left-style:solid;border-left-width:1px;border-right-color:#000000;border-right-style:solid;border-right-width:1px;
}

.yonghubiaodan checkbox,radio{
text-align:left;
margin:0px 10px;

overflow:hidden;
vertical-align:middle;
height:40px;height:40px;line-height:40px;border-bottom-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#000000;border-top-style:solid;border-top-width:1px;border-left-color:#000000;border-left-style:solid;border-left-width:1px;border-right-color:#000000;border-right-style:solid;border-right-width:1px;
}


.yonghubiaodan input{
width:1180px;text-align:left;
margin:0px 10px;
overflow:hidden;
vertical-align:middle;
height:40px;line-height:40px;border-bottom-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#000000;border-top-style:solid;border-top-width:1px;border-left-color:#000000;border-left-style:solid;border-left-width:1px;border-right-color:#000000;border-right-style:solid;border-right-width:1px;

}

.yonghubiaodan textarea{
width:1180px;text-align:left;
margin:0px 10px;
overflow:hidden;
vertical-align:middle;
width:300px;

height:100px;line-height:100px;border-bottom-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#000000;border-top-style:solid;border-top-width:1px;border-left-color:#000000;border-left-style:solid;border-left-width:1px;border-right-color:#000000;border-right-style:solid;border-right-width:1px;

}


.yonghubiaodan .title
{
margin:0px 10px;
}
.yonghubiaodan button{
width:1180px;
padding:5px 10px;
margin:10px 0px  0px 10px;
text-align:center;
line-height:40px;height:40px;line-height:40px;border-bottom-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-top-color:#000000;border-top-style:solid;border-top-width:1px;border-left-color:#000000;border-left-style:solid;border-left-width:1px;border-right-color:#000000;border-right-style:solid;border-right-width:1px;
}



.xiangqing .title{
margin:10px 0px;
padding:15px;
border-radius:15px;
text-align:center;
font-size:20px;
font-weight:bold;

}
.xiangqing .desc{

}

.xiangqing .img{
text-align:center;
}








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

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

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

七、🎁更多干货

1.如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “👍点赞” “✍️评论” “💙收藏” 一键三连哦!

2.💗【👇🏻👇🏻👇🏻关注我| 💬获取更多源码 | 优质文章】 带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!

3.

以上内容技术相关问题💌欢迎一起交流学习👇🏻👇🏻👇🏻💬

  • 24
    点赞
  • 39
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
以下是一个基于HTML+CSS+JavaScript制作的网页设计案例25违停查询: 1. HTML代码 在HTML代码中,我们使用了一个简单的表单,让用户能够输入车牌号和查询日期进行查询。 ```html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>违停查询</title> <link rel="stylesheet" href="style.css"> </head> <body> <div class="container"> <h1>违停查询</h1> <form> <label for="plateNum">车牌号:</label> <input type="text" id="plateNum" name="plateNum" required> <label for="queryDate">查询日期:</label> <input type="date" id="queryDate" name="queryDate" required> <button type="submit" id="queryBtn">查询</button> </form> </div> <script src="script.js"></script> </body> </html> ``` 2. CSS代码 在CSS代码中,我们设置了页面的样式,包括背景颜色、字体样式、输入框和按钮的样式等等。 ```css body { background-color: #f2f2f2; font-family: Arial, sans-serif; } .container { margin: 50px auto; width: 500px; background-color: #fff; padding: 30px; border-radius: 5px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); } h1 { text-align: center; margin-bottom: 30px; } form { display: flex; flex-direction: column; } label { margin-bottom: 10px; } input[type="text"], input[type="date"] { padding: 10px; margin-bottom: 20px; border-radius: 5px; border: none; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); } button { background-color: #0099ff; color: #fff; padding: 10px; border: none; border-radius: 5px; cursor: pointer; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); } button:hover { background-color: #0077cc; } ``` 3. JavaScript代码 在JavaScript代码中,我们使用了AJAX技术,向服务器发送查询请求,并且在页面上显示查询结果。 ```javascript const form = document.querySelector('form'); const queryBtn = document.querySelector('#queryBtn'); queryBtn.addEventListener('click', function(event) { event.preventDefault(); const plateNum = document.querySelector('#plateNum').value; const queryDate = document.querySelector('#queryDate').value; const xhr = new XMLHttpRequest(); xhr.onreadystatechange = function() { if (xhr.readyState === 4 && xhr.status === 200) { const response = JSON.parse(xhr.responseText); showResults(response); } } const url = `https://example.com/api/query?plateNum=${plateNum}&queryDate=${queryDate}`; xhr.open('GET', url, true); xhr.send(); }); function showResults(response) { const table = document.createElement('table'); const thead = document.createElement('thead'); const tbody = document.createElement('tbody'); const headRow = document.createElement('tr'); const dateHead = document.createElement('th'); const timeHead = document.createElement('th'); const locationHead = document.createElement('th'); const violationHead = document.createElement('th'); const fineHead = document.createElement('th'); dateHead.textContent = '日期'; timeHead.textContent = '时间'; locationHead.textContent = '地点'; violationHead.textContent = '违停条例'; fineHead.textContent = '罚款金额'; headRow.appendChild(dateHead); headRow.appendChild(timeHead); headRow.appendChild(locationHead); headRow.appendChild(violationHead); headRow.appendChild(fineHead); thead.appendChild(headRow); response.forEach(record => { const row = document.createElement('tr'); const dateCell = document.createElement('td'); const timeCell = document.createElement('td'); const locationCell = document.createElement('td'); const violationCell = document.createElement('td'); const fineCell = document.createElement('td'); dateCell.textContent = record.date; timeCell.textContent = record.time; locationCell.textContent = record.location; violationCell.textContent = record.violation; fineCell.textContent = record.fine; row.appendChild(dateCell); row.appendChild(timeCell); row.appendChild(locationCell); row.appendChild(violationCell); row.appendChild(fineCell); tbody.appendChild(row); }); table.appendChild(thead); table.appendChild(tbody); const container = document.querySelector('.container'); container.appendChild(table); } ``` 总之,这个网页设计案例着重强调了简单明了和易于使用。用户可以轻松地输入车牌号和查询日期,然后点击“查询”按钮,查询结果也是易于阅读和理解的。同时,网页还使用了AJAX技术,让用户能够在不刷新页面的情况下获得查询结果。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值