HTML中华传统文化题材网页《中国民间年画》HTML+CSS+JavaScript

🎉精彩专栏推荐 💭文末获取联系
✍️ 作者简介: 一个热爱把逻辑思维转变为代码的技术博主
💂 作者主页: 【主页——🚀获取更多优质源码】
🎓 web前端期末大作业: 【📚毕设项目精品实战案例 (1000套) 】
🧡 程序员有趣的告白方式:【💌HTML七夕情人节表白网页制作 (110套) 】
🌎超炫酷的Echarts大屏可视化源码:【🔰 Echarts大屏展示大数据平台可视化(150套) 】
🔖 HTML+CSS+JS实例代码: 【🗂️HTML+CSS+JS实例代码 (炫酷代码) 继续更新中…】
🎁 免费且实用的WEB前端学习指南: 【📂web前端零基础到高级学习视频教程 120G干货分享】

🥇 关于作者: 💬历任研发工程师,技术组长,教学总监;曾于2016年、2020年两度荣获CSDN年度十大博客之星。 十载寒冰,难凉热血;多年过去,历经变迁,物是人非。 然而,对于技术的探索和追求从未停歇。 💪坚持原创,热衷分享,初心未改,继往开来!



一、👨‍🎓网站题目

🍵茶文化网站、🏳️‍🌈中华传统文化题材、京剧文化🔏水墨风书画、中国民间年画文化艺术网站 、等网站的设计与制作。


二、✍️网站描述

🏷️ 这个首页代码运用了DIV盒子的使用方法,如盒子的嵌套、浮动、margin、border、background等属性的使用,外部大盒子设定居中,内部左中右布局,下方横向浮动排列,大学学习的前端知识点和布局方式都有运用,CSS的代码量也很足、很细致,使用hover来完成过渡效果、鼠标滑过效果等,使用表格、表单补充模块,为方便新手学习, 个别源码页面中没有使用js有需要的可以自行添加。

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

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


<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/index.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function clearText(field)
{
    if (field.defaultValue == field.value) field.value = '';
    else if (field.value == '') field.value = field.defaultValue;

}
</script>
</head>
<body>
<div id="templatemo_container">
  <div id="templatemo_banner">
    <div style="width:760px;height:90px;margin-left:170px">
      <marquee style="font-size:40px;height:90px;line-height:90px;color:orange;font-weight:bold;">
      中国民间年画
      </marquee>
    </div>
  </div>
  <!-- end of banner -->
  <div id="templatemo_menu">
    <ul>
      <li><a href="index.html">首页</a></li>
      <li><a href="jj.html">简介</a></li>
      <li><a href="tc.html">图册</a></li>
      <li><a href="dg.html">典故</a></li>
      <li><a href="cq.html" class="last">产区</a></li>
    </ul>
  </div>
  <!-- end of menu -->
  <div id="templatemo_content_top">
    <div class="section_w335 fl margin_right_40">
      <div class="header_01">年画简介</div>
      <div class="image_wrapper"> <img src="images/n1.jpg" alt="image" width="135px" height="135"/> </div>
      <p>&nbsp;&nbsp;&nbsp;&nbsp;年 画 , 中 国 画 的 一 种 。 始 于 古 代 的 “ 门 神 画 ” , 大 都 用 于 新  年 时 张 帖 , 装 饰 环境  ,含 有 祝  福 新 年 吉 祥 喜庆 之 意 , 故 名  。 传 统 民 间 年 画 多 用 木 板 水 印 制 作  主 要  。 。 。 </p>
      <p><a href="jj.html">更多</a></p>
    </div>
    <div class="section_w335 fl">
      <div class="header_01"> 图册</div>
      <div class="image_wrapper"> <img src="images/n2.jpg" alt="image" width="135px" height="135" /> </div>
      <p>&nbsp;&nbsp;&nbsp;&nbsp;年 画 大 部分 是 以 吉 祥 、 喜 庆  、 欢 乐 、 美 好 等 事 物 , 或 以 典故 、 成 语 作 为 主 题  ,有  情 节 , 易 于 理解  。 其 取 材 内 容 极 为 广 泛 , 诸 如 历 史故 事 、 神 话 传 说 、 吸 取 人 。。。 </p>
      <p><a href="tc.html">更多》</a></p>
    </div>
    <div class="margin_bottom_40"></div>
    <div class="section_w335 fl margin_right_40">
      <div class="header_01"> 典故</div>
      <div class="image_wrapper"> <img src="images/n3.jpg" alt="image" /> </div>
      <p>1、五福临门<br/>
        2、门神<br/>
        3、雄狮<br/>
        4、神虎<br/>
        5、和合二仙<br/>
        6、九九肖寒图</p>
      <p><a href="dg.html">更多》</a></p>
    </div>
    <div class="section_w335 fl">
      <div class="header_01"> 产区 </div>
      <div class="image_wrapper"> <img src="images/ds.jpg" alt="image"  width="95px" height="95" /> </div>
      <p>1、杨家埠<br/>
        2、朱仙镇 <br/>
        3、桃花坞<br/>
        4、杨柳青</p>
      <p><a href="cq.html">更多》</a></p>
    </div>
    <div class="margin_bottom_20 b_bottom"></div>
    <div class="cleaner"></div>
  </div>
  <!-- end of content top -->
  <div id="templatmeo_content_bottom">
    <div class="section_w210 fl margin_right_40">
      <div class="header_02">门神</div>
      <p>&nbsp;&nbsp;&nbsp;&nbsp;门神有文、武、童、兽之分。武门神一般按使用的兵器命名。如:武将门神中的鞭锏门神,以唐代大将秦琼、尉迟敬德为原型。此种门神一般被贴在院落外门及大门上,通常秦琼(净脸)居右,尉迟敬德(花脸)居左。戳刀门神为三国蜀将关公及其世孙关胜,因为二人同使用青龙偃月大刀,故成对张贴。此门神也贴在院落外边或者大门上。。。。</p>
      <p> <a href="dg.html">更多》</a></p>
    </div>
    <div class="section_w210 fl margin_right_40">
      <div class="header_02">五福临门</div>
      <p>&nbsp;&nbsp;&nbsp;&nbsp;杨柳青年画题材的一大种类。两个童子各骑一只大公鸡,所持的条幅上分别写着“功名富贵”、“吉星高照”,借助公鸡鸣叫,取“功名”之意,童子头上戴的牡丹花象征“富贵”,结成吉语为“功名富贵”;另一童子头上戴的是菊花,取“菊”为“吉”意。几只蝙蝠取“福”字之音,象征幸福,故称“五福临门”。。。 </p>
      <p> <a href="dg.html">更多》</a></p>
    </div>
    <div class="section_w210 fl">
      <div class="header_02">雄狮</div>
      <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;狮子画像随着佛教传入中国变成驯服可亲的吉祥瑞兽,造型蓬头大耳,巨目环睛。在宫殿、庙堂或者大宅门两旁,作为守护、装饰和辟邪之用,也是权威的象征。有的地方还把它当成小儿的守护神敬奉。。。。 </p>
      <p> <a href="dg.html">更多》</a></p>
    </div>
    <div class="margin_bottom_40 b_bottom"></div>
    <div class="margin_bottom_30"></div>
    <div id="templatemo_footer">
      <ul class="footer_list">
        <li><a href="index.html">首页</a></li>
        <li><a href="jj.html">简介</a></li>
        <li><a href="tc.html">图册</a></li>
        <li><a href="dg.html">典故</a></li>
        <li class="last"><a href="cq.html">产区</a></li>
      </ul>
      <div class="margin_bottom_10"></div>
      中 国 民 间 年 画 网 站 所 有
      <div class="margin_bottom_20"></div>
    </div>
    <div class="cleaner"></div>
  </div>
  <!-- end of content bottom -->
</div>
</body>
</html>



💒CSS样式代码


* {
	font-family:"微软雅黑";
	}
body {
	margin: 0;
	padding: 0;
	line-height: 1.5em;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #333;
	background: #faf1dd url(../images/01.jpg) repeat-x;
	background-size:cover;
}

a:link, a:visited { color: #af1313; text-decoration: underline; font-weight: normal; } 
a:active, a:hover { color: #996600; text-decoration: none; }

p {
	margin: 0px;
	padding: 0px;
}

img {
	margin: 0px;
	padding: 0px;
	border: none;
}

.cleaner { clear: both; width: 100%; height: 0px; font-size: 0px;  }

.margin_bottom_10 { clear: both; width: 100%; height: 10px; font-size: 1px;	}
.margin_bottom_15 { clear: both; width: 100%; height: 15px; font-size: 1px;	}
.margin_bottom_20 { clear: both; width: 100%; height: 20px; font-size: 1px;	}
.margin_bottom_30 { clear: both; width: 100%; height: 30px; font-size: 1px;	}
.margin_bottom_40 { clear: both; width: 100%; height: 40px; font-size: 1px;	}
.margin_bottom_50 { clear: both; width: 100%; height: 50px; font-size: 1px;	}
.margin_bottom_60 { clear: both; width: 100%; height: 60px; font-size: 1px;	}

.margin_right_40 { margin-right: 40px; }
.margin_right_60 { margin-right: 60px; }

.b_bottom {
	border-bottom: 1px solid #e3bb67;
}

.fl { float: left; }
.fr { float: right }


#templatemo_container {
	width: 950px;
	margin: 0 auto;
	padding: 0 5px;
}

#templatemo_banner {
	width: 950px;
	height: 90px;
}

#search_section {
	float: right;
	margin: 50px 30px 0 0;
	width: 250px;
	height: 30px;
	background: url(../images/1templatemo_search_bg.jpg) no-repeat;
}

#search_section form {
	width: 250px;
	height: 30px;	
	margin: 0px;
	padding: 0 0 0 2px;
}

#searchfield {
	height: 16px;
	width: 170px;
	padding: 5px;
	color: #000000;
	font-size: 12px;
	font-variant: normal;
	line-height: normal;
	background: none;
	border: none;	
}

#searchbutton {
	width: 65px;
 	height: 29px;
	padding: 0 6px;
	cursor: pointer;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	vertical-align: bottom;
	white-space: pre;
	color: #333333;
	background: none;
	border: 
	border: 3px solid #d4bc88;
}

.section_w335 p {
	float: right;
	width: 180px;
	text-align: justify;
	margin-bottom: 10px;
}

#templatmeo_content_bottom {
	clear: both;
	padding: 40px 40px 0 200px;	
	background: url(../images/1templatemo_content_bottom.jpg) bottom no-repeat;
}

.section_w210 {
	width: 210px;
}

.section_w210 p {
	text-align: justify;
	margin-bottom: 10px;
}

#templatemo_footer {
	text-align: center;
	padding-bottom: 30px;
}

.footer_list {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.footer_list li {
	padding: 0 10px;
	display: inline;
	border-right: 1px solid #333333;
}

.footer_list li a {
	color: #333333;
	text-decoration: underline;
}

.footer_list li a:hover {
	color: #996600;
}

.footer_list .last {
	border-right: none;
}



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

第一、带着目标去学习,无论看书报课还是各种线下活动。
首先要明确自己的学习目标是什么,是想解决什么问题,实现怎样的目标。

第二、学习要建立个人知识体系
知识是学不完的,书籍是浩如烟海的。我们尽情徜徉其中的时候,千万不要被海水淹死,没有自我了。在学习过程中,我们会发现每一个知识点都是有她的边界和背景的,我们要善于归纳整理知识

第三、学到了就要用到

有时,我们一天下来感觉学到了很多干货,那么我们一定要将这些知识点和实际工作和生活联系起来。知识和实践相互联系靠拢。爱学习是一件好事,但只有会学习的人,才有价值。


七、🎁更多干货

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

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

3.

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

在这里插入图片描述

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值