🌩️ 精彩专栏推荐👇🏻👇🏻👇🏻
💂 作者主页: 【进入主页—🚀获取更多源码】
🎓 web前端期末大作业: 【📚HTML5网页期末作业 (1000套) 】
🧡 程序员有趣的告白方式:【💌HTML七夕情人节表白网页制作 (110套) 】
二、📚网站介绍
📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。
📓网站程序方面:计划采用最新的网页编程语言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.视频演示
C96SJ-婚庆js轮播三级表单设计说明(8页)
🧩 2.图片演示
四、💒 网站代码
🧱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="top"><div class="logo"><img src="images/logo.png"/></div></div>
<div id="nav">
<ul>
<li><a href="index.html">首页</a></li>
<li><a href="about.html">关于我们</a></li>
<li><a href="lvpai.html">全球旅拍摄</a></li>
<li><a href="zuopin.html">婚礼作品</a></li>
<li><a href="news.html">新闻动态</a></li>
<li><a href="liuyan.html">在线留言</a></li>
</ul>
</div>
<!-----网站头部结束-------------->
<!------网站主体部分开始----------------------->
<div class="main">
<div class="nr">
<div class="tit">在线留言</div>
<div class="abt">
<div class="lyleft">
<img src="images/img15.jpg">
</div>
<div class="lyright">
<form>
<input type="text" class="iput" value="姓名">
<input type="text" class="iput" value="邮箱">
<input type="text" class="liuyan" value="留言内容">
<button type="submit" class="btn">提交留言</button>
</form>
</div>
</div>
</div>
</div>
<!------网站主体结束--------------------------->
<!------网站底部分开始----------------------->
<div class="foot">
<div class="banq">
网站版权 爱相随婚庆
</div>
</div>
<!------网站底部体结束--------------------------->
</body>
</html>
🏠CSS样式代码
body {
margin: 0 auto;
font-size: 14px;
font-family: "微软雅黑";
line-height: 25px;
background: #f7e9fb;
}
.about-main ul {
margin: 0 auto;
}
.about-main ul li {
float: left;
margin-left: 25px;
display: block;
text-align: center;
_margin-left: 18px;
border-bottom: 1px #ccc dashed;
line-height: 40px;
height: 35px;
}
.about-main ul li a img {
display: block;
height: 138px;
width: 102px;
border: 1px solid #c4c4c4;
padding: 3px;
}
.about-main ul li span {
font-size: 12px;
}
.new_lt {
height: 30px;
float: left;
text-align: left;
width: 840px;
}
.new_rt {
height: 30px;
float: right;
margin-right: 13px;
display: inline;
}
.neirong {
width: 960px;
height: auto;
overflow: hidden;
background: #FFF;
padding: 20px;
}
.neirong p{
text-indent:2em;
}
.biaoti {
color: #3d2915;
font-weight: bold;
font-size: 16px;
line-height: 40px;
text-align: center;
margin-bottom: 10px;
_margin-bottom: 10px;
border-bottom: #CCC 1px dashed;
}
.cernt {
margin: 0 auto;
display: block;
}
.foot {
width: 1000px;
height: 83px;
background:#b57dc6;
margin: 0 auto;
padding-top: 60px;
}
.banq {
width: 1000px;
height: 40px;
line-height: 40px;
color: #FFF;
margin: 0 auto;
text-align: center;
}
.lyleft{
width:390px;
height: 550px;
float: left;
margin-right: 30px;
}
.lyright{
width: 540px;
height: 550px;
float: left;
}
.iput{
width: 530px;
height: 40px;
line-height: 40px;
border: #a6a5a5 1px solid;
padding-left: 10px;
color: #bcbcbc;
font-size: 14px;
margin-bottom: 30px;
}
.liuyan{
width: 530px;
height: 220px;
line-height: 40px;
border: #a6a5a5 1px solid;
padding-left: 10px;
color: #bcbcbc;
font-size: 14px;
margin-bottom: 40px;
}
.btn{
width: 131px;
height: 36px;
line-height: 36px;
background: url(../images/more.png) no-repeat;
text-align: center;
color: #FFF;
border: none;
display: block;
margin: 0 auto;
}
五、🎁更多源码
1.如果我的博客对你有帮助 请 “👍点赞” “✍️评论” “💙收藏”
一键三连哦!
2.💗【👇🏻👇🏻👇🏻🉑关注我| 获取更多源码】
带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、等!
📣以上内容技术相关问题💌欢迎一起交流学习👇🏻👇🏻👇🏻