• 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>
      
      <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>
      
      <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>    年 画 , 中 国 画 的 一 种 。 始 于 古 代 的 “ 门 神 画 ” , 大 都 用 于 新  年 时 张 帖 , 装 饰 环境  ,含 有 祝  福 新 年 吉 祥 喜庆 之 意 , 故 名  。 传 统 民 间 年 画 多 用 木 板 水 印 制 作  主 要  。 。 。 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>    年 画 大 部分 是 以 吉 祥 、 喜 庆  、 欢 乐 、 美 好 等 事 物 , 或 以 典故 、 成 语 作 为 主 题  ,有  情 节 , 易 于 理解  。 其 取 材 内 容 极 为 广 泛 , 诸 如 历 史故 事 、 神 话 传 说 、 吸 取 人 。。。 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>
      
      <div id="templatmeo_content_bottom">
        <div class="section_w210 fl margin_right_40">
          <div class="header_02">门神div>
          <p>    门神有文、武、童、兽之分。武门神一般按使用的兵器命名。如:武将门神中的鞭锏门神,以唐代大将秦琼、尉迟敬德为原型。此种门神一般被贴在院落外门及大门上,通常秦琼(净脸)居右,尉迟敬德(花脸)居左。戳刀门神为三国蜀将关公及其世孙关胜,因为二人同使用青龙偃月大刀,故成对张贴。此门神也贴在院落外边或者大门上。。。。p>
          <p> <a href="dg.html">更多》a>p>
        div>
        <div class="section_w210 fl margin_right_40">
          <div class="header_02">五福临门div>
          <p>    杨柳青年画题材的一大种类。两个童子各骑一只大公鸡,所持的条幅上分别写着“功名富贵”、“吉星高照”,借助公鸡鸣叫,取“功名”之意,童子头上戴的牡丹花象征“富贵”,结成吉语为“功名富贵”;另一童子头上戴的是菊花,取“菊”为“吉”意。几只蝙蝠取“福”字之音,象征幸福,故称“五福临门”。。。 p>
          <p> <a href="dg.html">更多》a>p>
        div>
        <div class="section_w210 fl">
          <div class="header_02">雄狮div>
          <p>        狮子画像随着佛教传入中国变成驯服可亲的吉祥瑞兽,造型蓬头大耳,巨目环睛。在宫殿、庙堂或者大宅门两旁,作为守护、装饰和辟邪之用,也是权威的象征。有的地方还把它当成小儿的守护神敬奉。。。。 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>
      
    div>
    body>
    html>
    
    
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112

    💒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
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157

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

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

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

    第三、学到了就要用到

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


    七、🎁更多干货

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

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

    3.

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

    在这里插入图片描述

  • 相关阅读:
    Spring MVC的执行流程
    白盒测试之语句覆盖、判定覆盖、条件覆盖等
    Spring框架系列(9) - Spring AOP实现原理详解之AOP切面的实现
    PyTorch注意力机制
    springboot+mybatis-plus-join+mysql实现连表查询
    香港服务器数据丢失怎么办
    使用UiPath和AA构建的解决方案 5. 使用UiPath ReFramework处理采购订单
    介绍Phi-3:微软重新定义小型语言模型(SLM)的可能性
    CUDA环境配置在Ubuntu18
    MySQL 是怎么加行级锁的?为什么一会是 next-key 锁,一会是间隙锁,一会又是记录锁?
  • 原文地址:https://blog.csdn.net/qq_38514354/article/details/127816228