用DIV+CSS技术设计的音乐主题网站(web前端网页制作课作业)

🎉精彩专栏推荐 💭文末获取联系
✍️ 作者简介: 一个热爱把逻辑思维转变为代码的技术博主
💂 作者主页: 【主页——🚀获取更多优质源码】
🎓 web前端期末大作业: 【📚毕设项目精品实战案例 (1000套) 】
🧡 程序员有趣的告白方式:【💌HTML七夕情人节表白网页制作 (110套) 】
🌎超炫酷的Echarts大屏可视化源码:【🔰 Echarts大屏展示大数据平台可视化(150套) 】
🔖 HTML+CSS+JS实例代码: 【🗂️HTML+CSS+JS实例代码 (炫酷特效网页代码) 继续更新中…】
🎁 免费且实用的WEB前端学习指南: 【📂web前端零基础到高级学习视频教程 120G干货分享】
🥇 关于作者: 💬历任研发工程师,技术组长,教学总监;曾于2016年、2020年两度荣获CSDN年度十大博客之星。 十载寒冰,难凉热血;多年过去,历经变迁,物是人非。 然而,对于技术的探索和追求从未停歇。 💪坚持原创,热衷分享,初心未改,继往开来!



一、👨‍🎓网站题目

🎵 音乐网页设计 、🎸仿网易云音乐、各大音乐官网网页、🎶明星音乐演唱会主题、🥁爵士乐音乐、民族音乐、等网站的设计与制作。


二、✍️网站描述

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

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

  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结构代码


<!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="web">
<div class="top">
<div class="logo"><img src="images/logo.jpg" /></div>
<div class="nav">
<ul>
<li><a href="index.html">网站首页</a></li>
<li><a href="fenlei.html">歌单分类</a></li>
<li><a href="denglu.html">会员登陆</a></li>
<li><a href="zhuce.html">会员注册</a></li>
</ul>
</div>
<div class="sous">
<form>
<input class="inut" />
<button class="btn"></button>
</form>
</div>
</div>

<div class="banner">
<img src="images/banner.jpg" />
</div>
<div class="box1">
<div class="bx">
<img src="images/img1.jpg" />
<p>每日30首</p>
</div>
<div class="bx">
<img src="images/img2.jpg" />
<p>猜你喜欢</p>
</div>
<div class="bx">
<img src="images/img3.jpg" />
<p>听见不同</p>
</div>
<div class="bx">
<img src="images/img4.jpg" />
<p>私人电台</p>
</div>
</div>
<div class="tit">热门艺人</div>
<div class="box2">
<div class="bx2">
<img src="images/img5.jpg" />
五月天
</div>
<div class="bx2">
<img src="images/img6.jpg" />
陈奕迅
</div>
<div class="bx2">
<img src="images/img7.jpg" />
五月天
</div>
<div class="bx2">
<img src="images/img8.jpg" />
五月天
</div>
<div class="bx2">
<img src="images/img9.jpg" />
五月天
</div>
</div>
<div class="tit">热门MV</div>
<div class="box3">
<div class="bx3">
<img src="images/img10.jpg" />
<p>CLASS</p>
<p>陈奕迅</p>
</div>
<div class="bx3">
<img src="images/img11.jpg" />
<p>小爱情</p>
<p>梁静茹</p>
</div>
<div class="bx3">
<img src="images/img12.jpg" />
<p>老唱盘</p>
<p>S.H.E/洪敬尧</p>
</div>
</div>
<div class="tit">曲风流派</div>
<div class="box4">
<div class="bx4">
<img src="images/img13.jpg" />
</div>
<div class="bx4">
<img src="images/img14.jpg" />
</div>
<div class="bx4">
<img src="images/img15.jpg" />
</div>
</div>
<div class="foot">
<p>Copyright@1998-2020 music.All Rights Reserved.</p>
<p>爱听音乐网版权所有</p>
</div>

</div>
</body>
</html>


💒CSS样式代码

body{ margin:0 auto; font-size:12px; font-family: "微软雅黑",arial; line-height:22px; background:#e0ecfa;  }
div,p,input,li,h1,h2,h3,h4,h5{ height:auto; margin:0; padding:0px;vertical-align:middle ;}
li{ list-style:none;}
a{ text-decoration:none; color:#000;}
img{ border:0; margin:0; padding:0;}
.web{
	width:1140px;
	height:auto;
	overflow:hidden;
	margin:0 auto;
	background:#FFF;
	padding:0px 30px;
	}
.top{
	height:55px;
	padding-top:15px;
	}
.logo{
	width:116px;
	height:39px;
	float:left;
	margin-right:50px;
	}
.nav{
	width:720px;
	height:39px;
	float:left;
	}
.nav ul{
	padding:0px;
	margin:0;
	}
.nav ul li{
	height:39px;
	line-height:39px;
	float:left;
	margin:0px 20px;
	}
.nav ul li a{
	font-size:18px;
	color: #000;
	}
.sous{
	width:140px;
	height:39px;
	float:right;
	}
.inut{
	width:110px;
	height:39px;
	border:none;
	border-bottom: 1px solid #000;
	float:left;
	}
.btn{
	width:30px;
	height:30px;
	background:url(../images/btn.jpg) no-repeat;
	border:none;
	margin-top:10px;	
	}
.banner{
	width:1140px;
	height:364px;
	margin-bottom:25px;
	}
.box1{
	width:910px;
	height:90px;
	margin:0 auto; 
	margin-bottom:40px;
	}
.box1 .bx{
	width:88px;
	height:90px;
	float:left;
	margin:0px 60px;
	text-align:center;
	font-size:14px;
	}
.box1 .bx img{
	margin-bottom:10px;
	}
.tit{
	height:60px;
	line-height:60px;
	padding-left:20px;
	font-size:26px;
	margin-bottom:15px;
	color:#464543;
	}
.box2{
	height:250px;
	}
.box2 .bx2{
	width:193px;
	height:250px;
	float:left;
	margin:0px 17px;
	text-align:center;
	font-size:16px;
	}
.box2 .bx2 img{
	margin-bottom:15px;
	}
.box3{
	height:270px;
	}
.box3 .bx3{
	width:337px;
	height:270px;
	float:left;
	margin:0px 18px;
	}
.box3 .bx3 img{
	margin-bottom:10px;
	}
.box3 .bx3 p{
	line-height:25px;
	font-size:16px;
	}
.box4{
	height:305px;
	}
.box4 .bx4{
	width:337px;
	height:305px;
	float:left;
	margin:0px 18px;
	}
.foot{
	height:123px;
	background:#588fb8;
	padding-top:15px;
	}
.foot p{
	height:30px;
	line-height:30px;
	font-size:14px;
	color:#FFF;
	text-align:center;
	}
/*歌单页面*/
.title2{
	height:60px;
	line-height:60px;
	margin-bottom:20px;
	}
.title2 h1{
	font-size:26px;
	padding-left: 20px;
    font-size: 26px;
    margin-bottom: 15px;
    color: #464543;
	font-weight:normal;
	}
.title2 span{
	margin:0px 15px;
	}
.title2 span a{
	font-size:18px;
	}
.hot{
	border-bottom:#000 2px solid;
	}
.music{ width:1140px; height:1050px;}
.music ul{ padding:0px;}
.music ul li{ width:206px; height:340px; float:left; margin:0px 10px;}
.music ul li img{ width:206px; height:224px; margin-bottom:15px;}
.music ul li h1{ height:25px; line-height:25px; font-size:14px; font-weight:normal;}
.music ul li h1 a{ color:#000;}
.music ul li h2{ height:25px; line-height:25px; font-size:14px; font-weight:normal; color:#b3afaf;}
/*--登陆注册---*/
.neir {
	width: 1140px;
	margin-bottom: 100px;
	overflow: hidden;
}

.conr {
	width: 380px;
	height: 416px;
	background: #cbe7fc;
	margin:0 auto;
}

.lewm {
	width: 381px;
	height: 381px;
}

.login {
	width: 308px;
	height: 300px;
	margin: 0 auto;
	padding-top: 30px;
}

.login-title {
	height: 20px;
	line-height: 20px;
	font-size: 14px;
	color: #3c3c3c;
	padding-bottom: 20px;
	font-weight: 700;
}
.txt {
	width: 300px;
	height: 40px;
	border: #CCC 1px solid;
	margin-top: 10px;
}

.txt .wez {
	width: 40px;
	height: 40px;
	float: left;
}

.txt .input {
	width: 240px;
	float: left;
	padding-left: 20px;
	color: #666;
	height: 40px;
	border: none;
}
.txt .input2 {
	width: 290px;
	float: left;
	padding-left: 10px;
	color: #666;
	height: 40px;
	border: none;
}
.passw {
	width: 300px;
	height: 20px;
	margin-top: 20px;
	font-size: 12px;
}

.password {
	float: left;
}

.passw a {
	text-decoration: none;
	color: #333;
}

.zhuce {
	float: right;
}

.lbtn {
	width: 300px;
	font-size: 16px;
	margin-top: 25px;
	height: 42px;
	border: 0;
	overflow: hidden;
	vertical-align: middle;
	line-height: 42px;
	color: #fff;
	background: url(../images/ico7.png) no-repeat;
}
.rtitle{ height:50px; background:#fcfcfc;}
.rbx1{ width:670px; height:50px; line-height:50px; float:left; padding-left:20px;}
.rbx2{ width:200px; height:50px; line-height:50px; float:left;}
.rbx3{ width:90px; height:50px; line-height:50px; float:left;}
.rightbox1{ width:100%; height:75px;}
.rightbox1 .bx1{ width:50px; height:75px; line-height:75px; text-align:center; font-size:18px; color:#F60; float:left;}
.rightbox1 .bx2{ width:70px; height:70px; float:left; margin-right:20px;}
.rightbox1 .bx2 img{ width:70px; height:70px;}
.rightbox1 .bx3{ height:75px; width:350px; line-height:75px; font-size:14px; float:left;}
.rightbox1 .bxxz{ width:200px; height:45px; margin-top:15px; float:left;}
.rightbox1 .bx4{ width:200px; height:75px; float:left; line-height:75px; font-size:14px;}
.rightbox1 .bx5{ width:100px; height:75px; float:left; line-height:75px; font-size:14px; color:#666;}
.rightbox2{ background:#fafafa;}
.nerbox1{ width:100%; height:250px;}
.suotu{ width:250px; height:250px; float:left; margin-right:50px;}
.jjie{ height:250px; width:680px; float:left;}
.jjie .titz{ height:60px; line-height:60px; font-size:18px;font-weight: bold; }
.jjie .zuozhe{ height:30px; line-height:30px; font-size:14px; font-weight:normal;}
.jjie .jies{ width:50%; height:30px; line-height:30px; float:left; }
.jjie .yiny{ height:50px;margin-top: 90px;}
.nerbox2{ width:100%; height:460px; margin-top:20px;}
.nerbox2 h1{ height:40px; line-height:40px; font-size:18px;}
.nerbox2 p{ line-height:25px; font-size:14px;}









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

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.

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

在这里插入图片描述

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

web学生网页设计

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值