🌩️ 精彩专栏推荐👇🏻👇🏻👇🏻
💂 作者主页: 【进入主页—🚀获取更多源码】
🎓 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.视频演示

L23JP 个人博客网页8页 含有css轮播图

🧩 2.图片演示









四、💒 网站代码

🧱HTML结构代码



<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <link type="text/css" rel="stylesheet" href="css/css.css">
    <title>主页</title>
</head>

<body>
    <div class="wrapin">
        <div class="top">
            <div class="tx"><img src="picture/tx.jpg"></div>
            <font color="white">
                <p class="Name">ReggaeShark</p>
                <div class="autograph">**</div>
        </font></div>
        <div class="menu"> <a href="">首页</a><a href="zuopin.html">我的收藏</a><a href="wenzhang.html">最新文章</a><a href="video.html">视频</a><a href="liuyan.html">留言板</a>
        </div>
        <div class="index_word1">
            <div class="personal">
                <h3>**</h3>
                <p>性别:男</p>
                <p>专业:移动互联</p>
                

            </div>
            <div class="audio">
                <h3>歌曲名称</h3>
                <audio width="100%" height="30" controls="controls">
          <source src="file/v.mp3">
        </audio>
            </div>
        </div>
        <div class="right">
            <div class="index_word2">
                <h3 class="bar">留言板</h3>
                <div class="msg pad">
                    <form>
                        <div> <span class="fl">姓名:</span>
                            <input type="text" size="50" class="ip">
                        </div>
                        <div> <span class="fl">内容:</span>
                            <textarea class="ip" rows="4"></textarea>
                        </div>
                        <div> <span class="fl">提交:</span>
                            <input type="submit" value="提交">
                        </div>
                    </form>
                </div>
                <div class="clear"></div>
            </div>
            <div class="index_word2">
                <h3 class="bar">最新文章</h3>
                <ul>
                    <li><a href="info1.html">· 不止脏辫、雷鬼和鲍勃马利——关于拉斯塔法里运动(Rastafari) </a></li>
                    <li><a href="info2.html">· 如何看待躺平和内卷现象? </a></li>
                    <li><a href="info3.html">· 老子何以把有道者比作水,赞叹“上善若水” </a></li>
                </ul>
                <div class="clear"></div>
            </div>
            <div class="index_word2">
                <h3 class="bar">留言</h3>
                <ul>
                    <li><a href="liuyan.html">· [simle]好久不见,顺便来看看你,最近好吗?</a></li>
                    <li><a href="liuyan.html">· [清风]那些年我们一起吃过的泡面</a></li>
                    <li><a href="liuyan.html">· [不怕啦]我又来了...</a></li>
                </ul>
                <div class="clear"></div>
            </div>
        </div>
    </div>

    <div class="banner">
        <div id="photo">
            <img src="picture/banner1.jpg">
            <img src="picture/banner2.jpg">
            <img src="picture/banner3.jpg">
            <img src="picture/banner4.jpg">
        </div>
    </div>



    <!-- <embed src="file/v.mp3" hidden="true" autostart="true" loop="true"> -->
    <div class="clear"></div>
</body>

</html>


🏠CSS样式代码

/*通用类*/
*{
	margin:0;
	padding:0;	
}
body{		
	min-width:1000px;
	margin:0 auto;
	font-size:12px;	
	background: url(../image/timg.jpg) center top no-repeat fixed;
	text-align:justify;	

}
h1,h2,h3,h4{	
	font-weight:500;	
}
img{
	border:none;	
}
a{
	cursor:pointer;
	color:#000;
	text-decoration:none;	
	outline:none;
}
a:hover{
	color:#424683;	
}
ul{
	list-style-type:none;	
}

div.clear{
	font: 0px Arial; line-height:0;
	height:0; 
	overflow:hidden;	
	clear:both;	
}

.audio{
	color: #fff;
	margin-top: 320px;
	text-align: center;
}

/*wrapin 主体容器宽度*/
.wrapin{
	width:1000px;
	margin-left:auto;
	margin-right:auto;
}
.right{ float:right; width:670px; color:#84bcf5}
.right a{ color:#84bcf5}
.right ul li{ margin:10px 0; display:block}
.title{ text-align:center; padding:20px}
.top { padding:80px 0; margin:0 auto; text-align:center;width:200px;}
.top .tx {width:100px; height:100px; border-radius:50%; overflow:hidden; border:5px solid #6699CC; margin:0 auto}
.top .tx img {width:100%}
.Name { font-size:18px; margin:10px 0;}
.index_word1 {background:url(../image/a1.jpg); height:530px; width:300px; background-size:100% ;  float:left;}
.personal {padding:20px}
.index_word1 h3 { font-size:18px; }
.index_word1 p {font-size:14px; margin:10px 0}
.bar{ border-bottom:#fff solid 1px; color:#fff; margin-bottom:10px}
.index_word2 { background:rgba(0, 0, 0, 0.5); float:right; width:94%;padding:3%; font-size:16px; margin-bottom:20px}
.menu { text-align:center; padding-bottom:40px}
.index_word2 li p{ padding-top:20px; font-size:12px ; border-bottom:#ccc solid 1px; padding-bottom:40px}
.menu a{ display:inline-block; padding:10px 20px; background:rgba(0, 0, 0, 0.5); margin:0 20px; font-size:18px; color:#fff; border-radius:5px}
form div{ margin:5px 0}

form .ip{ width:400px;}

.banner {
	width: 1000px;
	height: 500px;
	overflow: hidden;
	margin: 0 auto;
	margin-bottom: 50px;
}
 
#photo {
	width: 4000px;
	animation: switch 5s ease-out infinite;
}
 
#photo > img {
	float: left;
	width: 1000px;
	height: 500px;
}
 
@keyframes switch {
	0%, 15% {
		margin-left: 0;
	}
	25%, 45% {
		margin-left: -1000px;
	}
	55%, 75% {
		margin-left: -2000px;
	}
	85%, 100% {
		margin-left: -3000px;
	}
}






五、🎁更多源码

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

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

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

更多推荐

学生个人网页设计作品 HTML+CSS 简单个人主页成品 HTML学生个人网站作业设计