🌩️ 精彩专栏推荐👇🏻👇🏻👇🏻
💂 作者主页: 【进入主页—🚀获取更多源码】
🎓 web前端期末大作业: 【📚HTML5网页期末作业 (1000套) 】
🧡 程序员有趣的告白方式:【💌HTML七夕情人节表白网页制作 (110套) 】


📂文章目录

  • 二、📚网站介绍
  • 三、🔗网站效果
    • ▶️1.视频演示
    • 🧩 2.图片演示
  • 四、💒 网站代码
    • 🧱HTML结构代码
    • 🏠CSS样式代码
  • 五、🎁更多源码

二、📚网站介绍

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

📓网站程序方面:计划采用最新的网页编程语言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代码)。


三、🔗网站效果

▶️1.视频演示

B26JP 我的英雄 5页)

🧩 2.图片演示

静态HTML CSS网站制作成品 简单的学生网页作业代码【带视频演示】插图
静态HTML CSS网站制作成品 简单的学生网页作业代码【带视频演示】插图(1)
静态HTML CSS网站制作成品 简单的学生网页作业代码【带视频演示】插图(2)
静态HTML CSS网站制作成品 简单的学生网页作业代码【带视频演示】插图(3)
静态HTML CSS网站制作成品 简单的学生网页作业代码【带视频演示】插图(4)


四、💒 网站代码

🧱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>我的英雄学院</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="main">
<div class="top">
<div class="logo">
<img src="img/logo.jpg" />
</div>
<div class="nav">
<ul >
<li><a class="hoo" href="index.html" >首页</a></li>
<li><a href="renwu.html" >经典人物</a></li>
<li><a href="zuhe.html" >英雄组合</a></li>
<li><a href="zhuce.html" >用户注册</a></li>
<li><a  href="pinglun.html" >评论专区</a></li>
</ul>
</div>
</div>
<div class="box">
<img  src="img/banner.jpg" >
</div>
<div class="nr">
<div class="box1">
<div class="box1-left"><img src="img/gr.jpg"></div>
<div class="box1-right">
<div class="box1-right-tit">我的英雄学院简介</div>
<p>《我的英雄学院》为日本漫画家堀越耕平在《周刊少年JUMP》上推出的第三部连载作品,讲述了一个天生无能力的少年绿谷出久追随憧憬的偶像英雄欧尔麦特,在以培养未来英雄为目的的雄英学院中求学、成长的故事。</p>
<p>《我的英雄学院》为日本漫画家堀越耕平在《周刊少年JUMP》上推出的第三部连载作品,讲述了一个天生无能力的少年绿谷出久追随憧憬的偶像英雄欧尔麦特,在以培养未来英雄为目的的雄英学院中求学、成长的故事。</p>
<p>折寺中学篇(第1-2话)、雄英高中入学考试篇(第3-4话)、个性掌握测试篇(第5-7话)、对人战斗训练篇(第8-11话)、敌人联军入侵USJ篇(第12-21话)、雄英体育季篇(第22-44话)、职场体验与英雄杀手袭来篇(第45-58话)、期末考试篇(第58-67话)、林间合宿与敌人联军再袭来篇(第68-83话)、救出爆豪篇(第84话-95话)、家访与住校篇(第96话-99话)、必杀技训练篇(第100话-102话)、英雄执照考试篇(第103话-114话)、All Might与All For One对话篇(第115话-116话)、出久与小胜冲突篇(第117话-121话)、雄英三巨头登场篇(第122话-126)、Sir.Nighteye事务所实习篇(第127话-131话)、【死秽八斋会】调查篇(第132话-137话)、【死秽八斋会】进攻篇(第138话-159话)、【死秽八斋会】善后篇(第160话-162话)</p>
</div>
</div>
<div class="tit">英雄职业</div>
<div class="box2">
<p>随着滥用个性而为非作歹的人数爆炸性的飞升,有勇气的人就学着漫画故事中那样开始为打击犯罪而挺身而出对抗敌人,于是出现了这种以往只能空想憧憬的职业。当前英雄以事务所为中心接受工作,独自或是偕同伙伴一起执行任务。成为优秀的英雄除了人气翻升之外还有高额金钱收入。目前就职英雄的人数处于饱和状态。</p>
</div>
<div class="tit">雄英高校</div>
<div class="box2">
<p>国立的名门高校,学生平均偏差值高达79。在此的教师全都是职业级的英雄。每个学年的学生分成英雄科A、B班、普通科C、D、E班、辅助科F、G、H班、经营科I、J、K班,总计11班。许多知名英雄都是从雄英英雄科毕业的,NO.1英雄.欧尔迈特和NO.2英雄.安德鲁皆是这学校的校友,想成为伟大的英雄的话,从雄英毕业是公认的必需条件。
</p>
<p>人气最高的英雄科每年的录取比例低于1/300,因为入学名额通常只有36名外加推荐入学者4名,总计40名学生。校训为"Plus Ultra(不懈进取,永无止境)",有勉励学生越过苦难更上前进的意思,而能力越强的学生则会被给予更强的试炼。
</p>
<p> 校风相当自由,能够在学校中自由地使用个性。与普通学校不同,并没有所谓的入学典礼或参观校园,对于就读英雄科的学生们的教导会注重于实践演习的部份。校舍俯瞰是个巨大的H字,校门还有安装着由厚重的铁板合金构成的闸门"雄英防护壁"。
</p>
</div>
<div class="box3">
<img src="img/in01.jpg">
<img src="img/in02.jpg">
<img src="img/in03.jpg">
</div>
</div>
<div class="foot">
<P>Copyight@我的英雄学院</P>
<p>Rights Reserved.</p>
</div>
</div>
</body>
</html>

🏠CSS样式代码

@charset "utf-8";
/* CSS Document */ 
body {
margin: 0 auto;
font-size: 12px;
font-family: "微软雅黑",arial;
line-height: 22px;
background: #fbf1da;
}
div,p,input,ul,li,h1,h2,h3 {
height: auto;
margin: 0;
padding: 0;
vertical-align: middle;
}
li {
list-style: none;
}
a {
color: #333;
text-decoration: none;
}
a:link {
color: #333;
}
a:hover {
color: #629705;
text-decoration: none;
overflow: hidden;
}
img {
border: 0;
margin: 0;
padding: 0;
}
.main {
width: 1024px;
height: auto;
margin: 0 auto;
background: #FFF;
}
.top {
height: 88px;
padding-top: 16px;
}
.logo {
width: 66px;
height: 72px;
float: left;
margin-left: 25px;
}
.nav {
width: 550px;
height: 55px;
float: right;
padding-top: 10px;
}
.nav ul {
padding: 0px
}
.nav ul li {
line-height: 55px;
float: left;
text-align: center;
display: inline-block;
position: relative;
width: 110px;
}
.nav ul li a {
color: #221e1f;
font-size: 18px;
}
.nav ul li a:hover {
color: #faab18;
}
.hoo {
color: #faab18 !important;
}
.box {
width: 1024px;
height: 418px;
}
.nr {
width: 1000px;
height: auto;
overflow: hidden;
background: #FFF;
padding-top: 20px;
padding-bottom: 20px;
}
.box1 {
width: 1000px;
height: 260px;
}
.box1-left {
width: 200px;
height: 220px;
padding: 20px;
float: left;
}
.box1-right {
width: 740px;
margin-left: 20px;
height: 220px;
float: left;
}
.box1-right-tit {
font-size: 16px;
color: #333;
font-weight: bold;
height: 40px;
line-height: 40px;
}
.box1-right p {
font-size: 14px;
line-height: 22px;
text-indent: 2em;
}
.tit {
font-size: 16px;
height: 40px;
line-height: 40px;
color: #333;
margin-left: 20px;
font-weight: bold;
}
.box2 {
padding: 0px 20px;
}
.box2 p {
font-size: 14px;
line-height: 22px;
text-indent: 2em;
}
.box3 {
width: 1000px;
height: 190px;
}
.box3 img {
width: 256px;
height: 165px;
float: left;
margin: 20px 38px;
}
.mdi {
height: 570px;
width: 1000px;
margin: 0 auto;
margin-bottom: 15px;
margin-top: 20px;
}
.mdi ul {
margin: 0px;
}
.mdi ul li {
width: 230px;
height: 230px;
float: left;
text-align: center;
margin: 10px;
}
.mdi ul li img {
width: 230px;
}
.mdi ul li h2 {
text-align: center;
line-height: 30px;
font-size: 14px;
}
.xq-box01 {
width: 1000px;
height: 600px;
padding: 20px;
}
.xq-box01  ul {
padding: 0px;
}
.xq-box01 ul li {
width: 480px;
float: left;
padding: 10px;
}
.xq-box01 ul li img {
width: 460px;
height: 300px;
display: block;
}
.xq-box01  .xiangq {
width: 420px;
height: 200px;
padding: 20px;
border-top: none;
background: #e5e4e2;
}
.xq-box01  .xiangq h1 {
height: 40px;
font-size: 16px;
line-height: 40px;
margin-bottom: 10px;
border-bottom: #D8D7D7 1px solid;
}
.xq-box01  .xiangq p {
font-size: 12px;
text-indent: 2em;
}
.huiy {
width: 100%;
height: 650px;
}
.mc {
float: left;
width: 360px;
margin-left: 100px;
padding-top: 100px;
}
.reg-other {
float: left;
margin-left: 60px;
height: 500px;
padding-left: 60px;
border-left: solid 1px #e6e6e6;
padding-top: 100px;
}
.reg-other .phone-fast-reg {
background: url(../img/wz-01.png) no-repeat;
width: 300px;
height: 355px;
}
.one {
margin: 20px 0
}
.one label {
width: 100px;
float: left;
text-align: right;
height: 20px;
line-height: 20px;
}
.one input {
border: 1px solid #ccc;
height: 20px
}
.two {
padding-left: 100px
}
.reda {
color: red
}
.a2 {
width: 100px;
margin-left: 5px;
padding: 2px;
background: #ccc
}
.btn {
background: #ffb72f;
width: 50px;
border: none;
padding: 3px;
color: #fff;
}
.da {
width: 980px;
margin: 0 auto;
margin-top: 20px;
padding: 20px;
}
.da h2 {
width: 980px;
height: 30px;
border-bottom: 1px solid #333;
line-height: 30px;
}
.foot {
height: 70px;
background: #101211;
}
.foot p {
text-align: center;
font-size: 14px;
color: #FFF;
line-height: 20px;
padding-top: 5px;
} 

五、🎁更多源码

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

2.💗【👇🏻👇🏻👇🏻🉑关注我| 获取更多源码】 带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、等!

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

本站无任何商业行为
个人在线分享 » 静态HTML CSS网站制作成品 简单的学生网页作业代码【带视频演示】
E-->