简单旅游景点HTML网页设计作品 DIV布局故宫介绍网页模板代码 DW家乡网站制作成品 web网页制作与实现

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

D24JP- 故宫介绍(6页)

🧩 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>首页-the Imperial Palace</title>
<meta name="keywords" content="the Imperial Palace" />
<meta name="description" content="the Imperial Palace" />
<link href="css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="top">
<div class="logo"><a href="index.html"><img src="images/logo.png" height="60" /></a></div>
<div class="webnav">
<ul>
<li class="licur"><a href="index.html" title="网站首页">网站首页</a></li>
<li><a href="list.html" title="景点列表">景点列表</a></li>
<li><a href="lyeat.html" title="景点小吃">景点小吃</a></li>
<li><a href="lygl.html" title="旅游攻略">旅游攻略</a></li>
<li><a href="vod.html" title="视频欣赏">视频欣赏</a></li>
<li><a href="lx.html" title="投诉建议">投诉建议</a></li>
</ul>
</div>
<div style="clear:both"></div>
</div>
<div class="banner">
<img src="images/banner.jpg" height="279" width="1000" /> 
</div>
<div class="index_con">
<div class="left">
<div class="jsbox">
<h3 class="s1"><span class="s1">故宫简介</span></h3>
<div class="js_con">
北京故宫是中国明清两代的皇家宫殿,旧称紫禁城,位于北京中轴线的中心。北京故宫以三大殿为中心,占地面积72万平方米,建筑面积约15万平方米,有大小宫殿七十多座,房屋九千余间 。
  京故宫是世界上现存规模最大、保存最为完整的木质结构古建筑之一,是国家AAAAA级旅游景区, 1961年被列为第一批全国重点文物保护单位;  1987年被列为世界文化遗产。</div>
</div>

<div class="pic_box">
<h3 class="s3"><span class="s3">故宫美景</span></h3>
<script src="js/jquery-1.4.3.min.js"></script>
<script src="js/jQuery-jcMarquee.js" type="text/javascript"></script>
<script>
$(function(){
    $('#Marquee_x').jcMarquee({ 'marquee':'x','margin_right':'10px','speed':20 });
	// DIVCSS5提示:10px代表间距,第二个20代表滚动速度
});
</script>
<div class="pic_con" id="Marquee_x">
 <ul>
            <li>
                <div><a href="#" target="_blank">
				<img src="images/1.jpg" />
				</a>
				<span>故宫全景</span>
				</div>
				<div><a href="#" target="_blank">
				<img src="images/2.jpg" />
				</a>
				<span>武英殿</span>
				</div>
				
				<div><a href="#" target="_blank">
			<img src="images/3.jpg" />
				</a>
				<span>文华殿</span>
				</div>
				
				
				<div><a href="#" target="_blank">
				<img src="images/4.jpg" />
				</a>
				<span>景仁宫</span>
				</div>
				
				
				<div><a href="#" target="_blank">
			<img src="images/5.jpg" />
				</a>
				<span>御花园</span>
				</div>
				<div><a href="#" target="_blank">
				<img src="images/6.jpg" />
				</a>
				<span>珍宝馆</span>
				</div>
				
				<div><a href="#" target="_blank">
				<img src="images/7.jpg" />
				</a>
				<span>慈宁宫</span>
				</div>
				
				
				<div><a href="#" target="_blank">
				<img src="images/8.jpg" />
				</a>
				<span>神武门</span>
				</div>
				
				
				
		  </li>
	</ul>
</div>


</div>
<div class="about">
<h3 class="s3"><span class="s3">关于我们</span></h3>
<div class="about_con">
<p><span class="a1">网站名称:</span><span class="b1">故宫旅游网</span></p>
<p><span class="a1">学校名称:</span>xxxx</p>
<p><span class="a1">地址:</span>xxxx</p>
<p><span class="a1">姓名:</span><span class="b1">xxxxx</span></p>
</div>

</div>
</div>


<div class="right">
<div class="lb_box">
<h3 class="s2"><span class="s2">今日推荐</span></h3>
<div class="lb_con">
<img src="images/1.jpg" />
</div>
</div>

<div class="list_box">
<h3 class="s2"><span class="s2">相关资讯</span></h3>
<div class="list_con">
<ul>
<li class="news"><a href="#">故宫游览路线</a></li>

<li class="news"><a href="#">故宫的历史介绍</a></li>

<li class="news"><a href="#">今日故宫开放景点</a></li>

<li class="news"><a href="#">故宫四季旅游介绍</a></li>

<li class="news"><a href="#">故宫季节美景观赏</a></li>
</ul>
</div>
</div>
</div>
<div style="clear:both"></div>
</div>
<div class="footer">
<p>Copyright &#169; 2019-2020,xxx, All Rights Reserved</p>
</div>
<embed src="images/All.mp3" width="1" height="1" type="audio/mpeg" loop="true" autostart="true">
</body>
</html>




🏠CSS样式代码

body, p, form, h1, h2, h3, h4, h5, h6, td, th, table, div, ul, li, ol, dl, dt, dd, input, select {	margin:0;padding:0;}
body{ font-size:12px; font-family:Arial, Helvetica, sans-serif; color:#333333; background:#f8f8f8}
a:link, a:visited {text-decoration:none; color:#585858;}
a:hover {text-decoration:none;color:#0766A6;}
.border01{ border:#E3E3E3 1px solid;}
img {border:0;}
ul,ul li{list-style-type:none;}
.clear {clear:both;height:0px;line-height:0;padding:0;border:0;overflow:hidden;font-size: 0px;}
.blank10 {height:10px;overflow:hidden;line-height:0;font-size:0;clear:both;}
h1,h2,h3,h4,h5,h6{ font-size:14px; font-weight:bold;}
.font14{ font-size:14px;}
/*网站头部*/
.top{ width:1002px; margin:auto; border-bottom:2px solid #006699; background:#EAEAEA; }


.logo{ float:left; width:350px; height:60px; overflow:hidden;display:inline;}
.righttel{ float:right; width:200px; height:30px; overflow:hidden; margin-right:40px; margin-top:10px; display:inline;}
.webnav{ float:right; text-align:right; height:60px; line-height:60px; overflow:hidden;}
.webnav ul{padding-right:20px;}
.webnav li{ float:left;height:60px; line-height:60px; font-family:'微软雅黑',Arial; font-weight:bold;margin-right:10px; padding-left:10px; padding-right:10px; font-size:14px}
.webnav li a{ display:block}
.webnav li a:link,.webnav li a:visited{ color:#0766A6;}
.webnav li:hover{ background:#0E7CB0; color:#FFFFFF}
.webnav li a:hover{color:#FFFFFF}
.banner{ width:1002px; margin:0 auto; margin-top:10px; }
.banner img{ width:1000px; height:279px;}

/*首页主体内容*/
.index_con{ width:1002px; margin:0 auto; margin-top:15px;}
.jsbox{ width:660px; background:#FFFFFF; border:1px solid #CCCCCC}
h3.s1{ height:30px; padding-left:20px; background:#526B37; line-height:30px; font-size:14px; font-weight:900; }
.js_con{ padding:20px 10px; text-indent:2em; font-size:12px; background:#EBE7D7; line-height:180%}
.index_con .left{ float:left; width:660px;}
.index_con .right{ float:right; width:330px;}
span.s1{ display:block; width:120px; height:30px; text-align: center; padding:0px 6px; background:#E7E2CE; color:#323126}
.lb_box{width:330px;}
.lb_con{ width:300px; margin:0 auto; padding:0px 15px; background:#EBE7D7}
.lb_con img{ width:300px;height:288px;}
h3.s2{ height:25px; padding-left:20px; padding-top:5px; background:#D5C794; font-size:14px; font-weight:900; border-bottom:2px solid #526B37 }
span.s2{ display:block; width:120px; height:25px;line-height:25px;text-align: center; padding:0px 6px; background:#526B37; color: #FFFFFF;
border-top-left-radius: 5px;border-top-right-radius: 5px;}
.pic_box{width:660px; background:#FFFFFF; border:1px solid #CCCCCC; margin-top:20px;}
.pic_con{ padding:10px 10px; background:#EBE7D7; }

#yj img{ max-width:638px; display:block; margin:0 auto}

/*图片滚动*/

#mrq{width:640px; margin:20px auto;border:1px solid #000; padding:2px}
#Marquee_x { overflow:hidden;} 
#Marquee_x ul li ,#Marquee_x ul li div{ float:left;line-height:25px;overflow:hidden} /* 横向滚动必须让所有li左浮动 */
#Marquee_x ul li div{ float:left;line-height:25px; width:160px; overflow:hidden}
#Marquee_x ul li div img{ border:1px solid #DADADA; width:160px; height:120px; display:block}
#Marquee_x ul li div span{ display:block; text-align:center}
#n{margin:10px auto; width:920px; border:1px solid #CCC;font-size:12px; line-height:30px;}
#n a{ padding:0 4px; color:#333}

.js_t {
    height: 30px;
    border: 1px solid #CCCCCC;
    padding-left: 10px;
    line-height: 30px;
    border-left: 20px solid #6699FF;
    font-size: 16px;
    font-weight: bold;
}
.js_c {
    line-height: 30px;
    color: #333333;
    font-size: 14px;
    background: #FFFFFF;
    border: 2px dashed #CCCCCC;
    margin-top: 10px;
    margin-bottom: 20px;
}
.js_c p {
    text-indent: 2.0em; padding:5px;
}
.js_c img{ text-indent:0; width:95%; margin:0 auto}

.about{width:660px; background:#FFFFFF; border:1px solid #CCCCCC; margin-top:20px;}
.about_con{ padding:10px 10px; background:#EBE7D7; }
h3.s3{ height:25px; padding-left:20px; padding-top:5px; background:#F2F2F2; font-size:14px; font-weight:900; border-bottom:1px solid #023C7E}
span.s3{ display:block; width:120px; height:25px; line-height:25px; text-align: center;
padding:0px 6px; background:#526B37; color: #FFFFFF;
border-top-left-radius: 5px;border-top-right-radius: 5px;
}
.about p{ margin:6px 0px; background:#F8F8F8; padding:6px; border:1px dashed #CCCCCC}
span.a1{ font-size:14px; color:#333333; font-weight:bold;}
span.b1{ font-size:14px; color:#333333; font-weight:500;}

.list_box{ margin-top:10px;}
.list_con ul {
    background: #fff;
    padding: 5px 10px 5px 10px;
    border: 1px solid #ccc;
}
ul li.news {
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    padding-left: 15px;
    background: url(../images//new.gif) no-repeat scroll 1px 10px;
    font-size: 12px;
}
ul li.news:hover{text-decoration:underline;color: #6666FF}
ul li.news a:link{ color:#333333; text-decoration:none}
ul li.news a:hover{ color: #6666FF}


.wrapper{margin: 0 auto;
    width: 1000px;
    margin-top: 10px;}
.wrapper .left{float: left;
    width: 660px; border:1px solid #CCCCCC}
.wrapper .right{float: right;
    width: 330px;}
h1.s1{ height:38px; line-height:38px; text-align: center; border-bottom:1px solid #526B37; background:#f5f5f5; color:#333333; font-size:16px; font-weight:bold}
.pic_dt{ width:300px; height:288px; padding:0px 15px}
.pic_dt img{ width:300px; height:288px}
.art_con{ padding:10px; font-size:12px; line-height:30px; background:#FFFFFF}
#wzpoint{ position:absolute; top:155px; color:#FF0000; left:361px; width:100px; height:50px; line-height:50px; font-size:24px;}

.footer{ width:1002px; text-align: center; margin:0 auto; margin-top:20px; border-top: 2px solid #526B37; background:#EBE7D7}
.footer p{ padding:10px 0px; font-size:14px; color:#000000}

/*文章列表页面*/
.art_list{ padding:10px;}
.post_box {
    padding: 10px 10px;
    margin-bottom: 10px;
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}
.post_img {
    float: left;
    height: 100px;
    width: 120px;
    margin-right: 10px;
}
.post_img img {
    width: 120px;
    height: 100px;
    border-radius: 4px;
}
.post_body {
    min-height: 100px;
}
.post_t {
    line-height: 20px;
    font-size: 17px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.post_p {
    color: #999;
    min-height: 60px;
    font-size: 12px;
    word-wrap: break-word;
    line-height: 20px;
    margin-bottom: 6px;
}
.post_meta {
    float: right;
    padding: 0px 6px;
    font-size: 12px;
    color: #2E2821;
} 






五、🎁更多源码

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

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

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

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

web网站建设

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

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

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

打赏作者

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

抵扣说明:

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

余额充值