大学生网页设计作业——大学生影视主题网页制作——图图影视影院5页HTML+CSS+JavaScript

HTML实例网页代码, 本实例适合于初学HTML的同学。该实例里面有设置了css的样式设置,有div的样式格局,这个实例比较全面,有助于同学的学习,本文将介绍如何通过从头开始设计个人网站并将其转换为代码的过程来实践设计。


精彩专栏推荐👇🏻👇🏻👇🏻👇🏻

【作者主页——🔥获取更多优质源码】

【学习资料/简历模板/面试资料/ 网站设计与制作】

【web前端期末大作业——🔥🔥毕设项目精品实战案例】



一、网页介绍

1 网页简介:此作品为学生个人主页网页设计题材,HTML+CSS 布局制作,web前端期末大作业,大学生网页设计作业源码,这是一个不错的网页制作,画面精明,代码为简单学生水平, 非常适合初学者学习使用。

2.网页编辑:网页作品代码简单,可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html编辑软件进行运行及修改编辑等操作)。

3.知识应用:技术方面主要应用了网页知识中的: Div+CSS、鼠标滑过特效、Table、导航栏效果、Banner、表单、二级三级页面等,视频、 音频元素 、Flash,同时设计了Logo(源文件)所需的知识点。


一、网页效果

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述


二、代码展示


1.HTML代码

代码如下(示例):以下仅展示部分代码供参考~

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="../css/bangdan.css">
<title>榜单</title>
</head>

<body>
			<div class="box">
            <div class="box1">
          <a href="tutu1.html"><span class="name"><span class="mingzi">------图图影视影院</span></span></a>				            
          <div class="city1">城市:沧州</div>
            <div class="city2"><div class="city3"><a href="#"><span class="mingzi">定位城市:定位失败</span></a></div>
            <div class="city4">定位失败</div></div>
            <div class="login"><a href="login.html"><span class="mingzi">登录/</span></a></div>
            <div class="exit"><a href="tutu1.html"><span class="mingzi">退出</span></a></div>
          <div class="search1">
                    <input type="text" class="input" placeholder="找影视剧、影人、影院">
          </div>
          <div class="search2">
                    <input class="submit" type="submit" value="搜索">
          </div>
          </div>
          <div class="one">
                <ul>
                    <li><a href="tutu1.html" class="three"><span class="mingzi">首页</span></a></li>
                    <li><a href="movie.html" class="three"><span class="mingzi">电影</span></a></li>
                    <li><a href="yingyuan.html" class="three "><span class="mingzi">影院</span></a></li>
                    <li><a href="bangdan.html" class="three active"><span class="mingzi">榜单</span></a></li>
                    <li><a href="#" class="three"><span class="mingzi">热点</span></a></li>
                </ul>
                </div>
                <div class="box2">
                <span><a href="#" class="two active"><span class="mingzi">热映口碑榜</span></a></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#"><span class="sort4"><span class="mingzi">最受期待榜</span></a><a href="#">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="sort4"><span class="mingzi">国内票房榜</span></a></div>
                <div class="box3">
                <div class="bg">
                <div class="sheet">
                <span class="top">TOP</span>
                <p class="tp"></p>
                <p><a href="https://v.qq.com/x/cover/jqq4vlwrxzfdxi4/p0020vf6862.html"><span class="mingzi">长津湖</span></a></p>
                <p><a href="https://v.qq.com/x/cover/mzc00200kbornzq/c3304913l9d.html"><span class="mingzi">梅兰芳</span></a></p>
                <p><a href="https://v.qq.com/x/cover/mzc00200v3x7zg9/t3308lhnf7i.html"><span class="mingzi">扬名立万</span></a></p>
                <p><a href="https://v.qq.com/x/cover/mzc00200wh6nz2g/o3219tg84hr.html"><span class="mingzi">天书奇谭</span></a></p>
                </div>
                </div>
                </div>
                <div class="bottom">
  <p>
            <a href="#"><span class="mingzi">商务合作邮箱:xxx@qq.com</span></a> <a href="#"><span class="mingzi">客服电话:xxx</span></a > &nbsp;<a href="#"><span class="mingzi">违法和不良信息举报电话:xxx</span></a>
        </p>
        <p><a href="#"><span class="mingzi">xxx</span></a></p>
        <p>
           <a href="#"><span class="mingzi">图图影视影院</span></a> </p>
            </div>
                
          </div>
</body>
</html>




2.CSS代码


body{
	margin: 0 100px;
	padding: 0;
	
}
.box{
	width: 1200px;
	position: relative;
	background: #FFF;
}
.box1{
	width: 100%;
	height: 125px;
	background:url(../image/log.png) #FFF no-repeat;
	background-size: 250px 125px;
}
a{
	text-decoration: none;
	color:#000;
}
.name{
	width: 300px;
	height: 125px;
	position: absolute;
	left: 270px;
	top: 0px;
	line-height: 125px;
	text-align: center;
	font-size:30px;
	color:#00F;
}
.city1{
	width: 87px;
	height: 25px;
	position: absolute;
	left: 980px;
	top: 30px;
	line-height: 25px;
	text-align: center;
}
.city2{
	width: 146px;
	height: 25px;
	position: absolute;
	left: 1056px;
	top: 30px;
	line-height: 25px;
	text-align: center;
}
.city4 {
  width:146px;
  height:30px;
  display: none;
  position: absolute;
  background-color:#CCC;
}
.city2:hover .city4 {
  display: block;
}
.city2:hover{
	 border-bottom: 30px solid #666;
}
.login{
	width: 70px;
	height: 25px;
	position: absolute;
	left: 1107px;
	top: 0px;
	line-height: 25px;
	text-align: center;
}
.exit{
	width: 60px;
	height: 25px;
	position: absolute;
	left: 1150px;
	top: 0px;
	line-height: 25px;
	text-align:  center;
}
.search1{
	width: 100px;
	height: 25px;
	position: absolute;
	left: 977px;
	top: 101px;
}
.search2{
	width: 50px;
	height: 25px;
	position: absolute;
	left: 1156px;
	top: 102px;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #F66;
  background-color:#F66;
  width:1200px;
}
li {
  float: left;
}
li a {
  display: block;
  color: #000;
  text-align: center;
  padding: 10px 100px;
} 
li .active {
  background-color: #FC0;
}
.mingzi{
	display:inline-block;
}
.mingzi:hover{
	color:#F00;
}
span .active{
	color:#30F;
}
.box2{
	width:1100px;
	text-align:center;
	position:absolute;
	top:175px;
}
.box3{
	width:1100px;
	position:absolute;
	top:190px;
}
.bg{
	width:600px;
	height:550px;
	background-image:repeating-radial-gradient(circle at 50% 50%,#333,#000 1%);
	margin:50px auto;
	padding:40px;
	border-radius:50%;
	padding-top:50px;
	border:10px solid #ccc;
}
.sheet{
	width:372px;
	height:530px;
	background:#fff;
	border-radius:30px;
	box-shadow:15px 15px 12px #000;
	margin:0 auto;
}
.sheet p{
	width:372px;
	height:55px;
	background:#ccc no-repeat 70px 20px;
	margin-bottom:2px;
	font-size:10px;
	color:#d6d6d6;
	line-height:55px;
	text-align:center;
	font-family:"微软雅黑";
}
.sheet .tp{
	width:372px;
	height:247px;
	background:#fff;
	background-image:url(../image/yingyuantubiao.png);
	background-size:50% 50%;
	background-repeat:no-repeat;
	background-position:87px 16px,99px 192px;
	border-radius:30px 30px 0 0;
}
.top{
	width:372px;
	height:60px;
	position:absolute;
	top:270px;
	left:360px;
	font-size:50px;
	line-height:60px;
	text-align:center;
}
.sheet .yj{
	border-radius:0 0 30px 30px;
}
.bottom{
	width:1200px;
	position:absolute;
	top:985px;
	text-align:center;
	background:#06F;
}


三、个人总结

一套合格的网页应该包含(具体可根据个人要求而定)

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

四、精彩推荐

1.看到这里了就 【点赞收藏博文】 三连支持下吧,你的支持是我创作的动力, 【观注作者 |获取更多源码| 优质文章】

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

3.

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

  • 8
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值