• HTML做一个节日页面【六一儿童节】纯HTML代码


    🎉精彩专栏推荐 💭文末获取联系
    ✍️ 作者简介: 一个热爱把逻辑思维转变为代码的技术博主
    💂 作者主页: 【主页——🚀获取更多优质源码】
    🎓 web前端期末大作业: 【📚毕设项目精品实战案例 (1000套) 】
    🧡 程序员有趣的告白方式:【💌HTML七夕情人节表白网页制作 (110套) 】
    🌎超炫酷的Echarts大屏可视化源码:【🔰 echarts大屏展示大数据平台可视化(150套) 】
    🎁 免费且实用的WEB前端学习指南: 【📂web前端零基础到高级学习视频教程 120G干货分享】
    🥇 关于作者: 💬历任研发工程师,技术组长,教学总监;曾于2016年、2020年两度荣获CSDN年度十大博客之星。 十载寒冰,难凉热血;多年过去,历经变迁,物是人非。 然而,对于技术的探索和追求从未停歇。 💪坚持原创,热衷分享,初心未改,继往开来!



    一、👨‍🎓网站题目

    🏮传统春节网页设计、🎅圣诞节节日发展、🥮中秋、端午传统节日习俗庆祝、🎏地区特色,网站模板 、等网站的设计与制作。


    二、✍️网站描述

    🏷️ 大学生传统节日网页作业成品采用DIV CSS布局制作,主要内容包括节日介绍、节日发展、习俗庆祝、地区特色等内容,作品共多个页面,学生HTML静态网页基础水平制作,页面排版干净简洁。网页技术方面应用包括网页背景颜色、字号字体设置、超链接、图文页面、菜单栏、顶部大图等网页基础知识点

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

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

    
    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/styles.css" rel="stylesheet" type="text/css">
    
    head>
    
    <body>
    
        
    
        <div id="topContainer">
    
            <div id="header">
    
                <div id="logo">
                    <a href="#"><img src="picture/logo.gif" alt="PrintingCo." width="196" height="57" border="0">a>
                div>
    
                <ul class="menu">
                    <li class="home"><a href="index.html" title="home">主页a>li>
                    <li class="about"><a href="" title="about">abouta>li>
                    <li class="services"><a href="China.html" title="services">servicesa>li>
                    <li class="equipment"><a href="news.html" title="equipment">equipmenta>li>
                    <li class="contact"><a href="origin.html" title="contact">contacta>li>
                ul>
    
            div>
    
        div>
    
        
    
        <div id="middleContainer">
    
            <div id="adsContainer">
                <h2> h2>
                <h2> h2>
                <h2>相关趣闻h2>
    
                <div style="width: 690px">
    
    
                    <a target="_self" href="javascript:;">韩国a>的儿童节开始于1923年,是从“<a target="_self" href="javascript:;">男孩节a>”演变过来的。这也是韩国的公众<a target="_self" href="javascript:;">假日a>,定在每年的5月5日。家长们通常会在这一天带孩子去公园、
                    <a target="_self" href="javascript:;">动物园a>或者其他游乐设施,让孩子开心地度过假日。
                    <div>div>
                    印度将独立后的第一任政府总理庄亚鲁的
                    <a target="_self" href="javascript:;">诞辰a>纪念日11月14日作为儿童节,在这个特别的日子里,印度的<a target="_self" href="javascript:;">儿童会a>有各种民族气息浓郁的舞蹈、音乐表演,政府也会出面组织一些庆祝活动。
                    <div>div>
                    大多数
                    <a target="_self" href="javascript:;">伊斯兰a>国家都将斋月后第14天定为“糖果节”,对孩子们来说,这也是最快乐的儿童节。“糖果节”一般为期三天,小朋友们三五成群,到附近的各家各户索要糖果。按照当地<a target="_self" href="javascript:;">民俗a>,大人们不能拒绝儿童的要求,所以孩子们这一天总是能满载而归,欢天喜地。
                    <div>div>
    
                    <a target="_self" href="javascript:;">非洲a>西部的儿童节是疯狂的,他们的国家大都有专门的“儿童狂欢节”,而且往往持续一个月。<a target="_self" href="javascript:;">非洲人a>历来能歌善舞,在“儿童狂欢节”里,尽管人们的生活条件各不相同,但所有孩子都会尽情欢乐,热闹非凡。
                    <div>div>
                    不过,比起上述国家的儿童,
                    <a target="_self" href="javascript:;">伊拉克a>的孩子们就可怜多了,当许多国家的小朋友在欢庆儿童节的时候,伊拉克儿童大多根本不知道世界上还有一个属于他们自己的节日。他们仍一如既往,或在学校上课,或在作坊打工,或沿街乞讨。
                    <div>div>
                    一些伊拉克人透露,在
                    <a target="_self" href="javascript:;">萨达姆a>执政的20多年里,6月1日被定为伊拉克的石油国有化日。每到这一天,伊拉克全国要举办各种庆祝活动,但与儿童无关,所以孩子们就没有过过儿童节。
                    <div>div>
                    在被忽略的儿童节里,伊拉克幼儿园、小学里没有任何节日气氛,自然也不会有庆祝活动。
                    <div>div>
                    日本的儿童节,叫做“儿童日”(
                    <a target="_self" href="javascript:;">日语a>:こどもの日),是一个<a target="_self" href="javascript:;">传统节日a>。在每年的5月5日,日本的家庭都会庆祝孩子的长大。二战前,这个节日被称为“<a target="_self" href="javascript:;">端午节a>”(日语:端午の节句),并且只是男孩的节日。1948年,当这个节日成为公众假日的时候,便成了庆祝所有儿童幸福和福利的节日。在节日当天,日本的家庭都会在屋顶上悬挂鱼状的标志,用来象征儿童消除厄运,克服困难,顺利成长。
                    <div>div>
                    不过日本在3月3日还有单独的女孩节,从
                    <a target="_self" href="javascript:;">上巳节a>发展过来,<a target="_self" href="javascript:;">女儿节a>以摆放各种玩偶来庆祝。男儿节悬挂<a target="_self" href="javascript:;">鲤鱼旗a>是源自中国的“望子成龙”和“
                    <a target="_self" href="javascript:;">鲤鱼跳龙门a>”的传说。
                    <div>div>
                div>
                <div>div>
    
                <p> p>
                <div class="clear">div>
    
    
            div>
    
        div>
    
        
    
        <div id="content">
    
            <div id="leftPan" style="margin-top: 50px;">
    
                <div id="welcome">
                    <div align="center">
                        <p> p>
                        <p><img src="picture/7.jpg" width="515" height="338"> p>
                    div>
                    <p align="center"> p>
                div>
            div>
    
            <div id="rightPan">
    
                <div id="why">
                    <p align="center"> p>
                div>
    
            div>
    
            <div class="clear" style="margin-bottom:15px">div>
    
        div>
    
        
    
        <div id="bottomContainer">
            <div id="footer">
                <p>
                    版权所有©
                p>
            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
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128

    💒CSS样式代码

    
    /* CSS Document */
    body{padding:0px; margin:0px; background:#FFF; color:#535353; font:11px/14px Tahoma, sans-serif;}
    div, p, ul, h2, h3, h4, img{padding:0px; margin:0px;}
    ul{list-style-type:none;}
    
    .clear {clear: both; margin: 0px}
    
    p a{font:11px/14px Tahoma, sans-serif; color:#bf2208; text-decoration:underline}
    p a:hover{color:#81929b;}
    
    /* TOP */
    
    #topContainer{background:#FFF url(../image/b_top.gif) 0 0 repeat-x; height:260px;}
    
    #header{background:url(../image/b_header.jpg) 0 0 no-repeat; height:260px; position:relative; margin:0 auto; width:773px}
    
    #logo{position:absolute; top:103px; left:85px}
    
    #header ul.menu{position:absolute; top:16px; left:305px; width:440px}
    #header ul.menu li{float:left; margin-right:12px;}
    #header ul.menu li a{height:26px; display:block; text-indent:-20000px; }
    #header ul.menu li a:hover{height:26px;}
    
    #header ul.menu li.home a{width:62px; background:url(../image/btn_1.gif) 0 0 no-repeat; }
    #header ul.menu li.home a:hover{width:62px; background:url(../image/btn_1_over.gif) 0 0 no-repeat;}
    
    #header ul.menu li.about a{width:62px; background:url(../image/btn_2.gif) 0 0 no-repeat; }
    #header ul.menu li.about a:hover{width:62px; background:url(../image/btn_2_over.gif) 0 0 no-repeat;}
    
    #header ul.menu li.services a{width:81px; background:url(../image/btn_3.gif) 0 0 no-repeat; }
    #header ul.menu li.services a:hover{width:81px; background:url(../image/btn_3_over.gif) 0 0 no-repeat;}
    
    #header ul.menu li.equipment a{width:94px; background:url(../image/btn_4.gif) 0 0 no-repeat; }
    #header ul.menu li.equipment a:hover{width:94px; background:url(../image/btn_4_over.gif) 0 0 no-repeat;}
    
    #header ul.menu li.contact a{width:75px; background:url(../image/btn_5.gif) 0 0 no-repeat; }
    #header ul.menu li.contact a:hover{width:75px; background:url(../image/btn_5_over.gif) 0 0 no-repeat;}
    
    /* MIDDLE */
    
    #middleContainer{background:#FFF url(../image/b_middle.gif) 0 0 repeat-x; height:269px;}
    
    #adsContainer{background:url(../image/b_ads.gif) 0 0 no-repeat; height:269px; position:relative; margin:0 auto; width:721px; padding:0 0 0 52px}
    
    #adsContainer ul {margin: 0 0 0 22px}
    #adsContainer ul li{font:11px/16px Tahoma, sans-serif; background:url(../image/arrow1.gif) 0 2px no-repeat; padding-left:21px; margin-bottom:6px}
    #adsContainer ul li a{color:#81929b; text-decoration:none;}
    #adsContainer ul li a:hover{color:#000}
    
    #ad1{width:231px; height:260px; float:left; position:relative; background:url(../image/b_ad1.jpg) 0 0 no-repeat; margin-top:9px}
    #ad1 h2{ height:29px; background:url(../image/h_ad1.gif) 0 0 no-repeat; margin: 25px 0 35px 24px; position:relative;}
    #ad1 p{width: 175px; margin: 0 0 15px 19px}
    
    #ad2{width:231px; height:260px; float:left;  position:relative;  background:url(../image/b_ad2.jpg) 0 0 no-repeat; margin-top:9px}
    #ad2 h2{ height:29px; background:url(../image/h_ad2.gif) 0 0 no-repeat; margin: 25px 0 35px 24px; position:relative;}
    #ad2 p{width: 175px; margin: 0 0 15px 19px}
    
    #ad3{width:231px; height:260px; float:left;  position:relative;  background:url(../image/b_ad3.jpg) 0 0 no-repeat; margin-top:9px}
    #ad3 h2{ height:29px; background:url(../image/h_ad3.gif) 0 0 no-repeat; margin: 25px 0 35px 24px; position:relative;}
    #ad3 p{width: 175px; margin: 0 0 15px 19px}
    
    
    /* CONTENT */
    
    #content{width:773px; background:url(../image/b_content.gif) 0 0 repeat-y; margin:0 auto;}
    
    #content ul li{font:11px/16px Tahoma, sans-serif; background:url(../image/arrow2.gif) 0 2px no-repeat; padding-left:24px; margin-bottom:6px}
    #content ul li a{color:#81929b; text-decoration:none;}
    #content ul li a:hover{color:#000}
    
    #leftPan{width: 297px; padding:25px 49px 0 61px; float:left}
    #rightPan{width: 327px; padding:25px 0 0 0; float:left}
    
    #welcome h2{ height:31px; background:url(../image/h_welcome.gif) 0 0 no-repeat; position:relative;}
    #welcome p.headline{display:block; width:287px; border-bottom:#c0c8cd 1px dotted; border-top:#c0c8cd 1px dotted; font:12px/12px Trebuchet MS, sans-serif; color:#dd137b; padding:5px 5px 5px 3px; text-transform:uppercase; margin-bottom:11px; float:none}
    
    #welcome img{float:left; margin-right:10px}
    
    #welcome p{width:180px; float:left}
    
    #welcome ul{ margin-left: 12px;}
    
    
    #why h2{ height:31px; background:url(../image/h_why.gif) 0 0 no-repeat; position:relative; margin-bottom:7px}
    #why p{width:318px; margin-left:8px; margin-bottom:12px}
    #why ul{ margin-left: 19px;; margin-bottom:15px}
    
    
    /* BOTTOM */
    
    #bottomContainer{background:#FFF url(../image/b_bottom.gif) 0 0 repeat-x; height:93px;}
    
    #footer{background:url(../image/b_footer.gif) 0 0 no-repeat; height:93px; position:relative; margin:0 auto; width:773px;}
    
    #footer p{padding: 35px 0 0 0; font:11px/16px Trebuchet MS, sans-serif; font-weight:normal; text-align:center; color:#fff;}
    #footer p a{font:11px/16px Trebuchet MS, sans-serif; font-weight:normal; color:#fff; text-decoration:none; padding: 0 5px }
    #footer p a:hover{text-decoration:none; background:#fff; color:#000}
    .sponsor {
    	margin: auto;
    	width: 728px;
    	padding-top: 10px;
    	padding-bottom: 15px;
    	text-align: center;
    }
    .sponsor img {
    	margin-top: 5px;
    }
    
    
    
    
    • 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

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

    很多刚入门编程的小白学习了基础语法,却不知道语法的用途,不知道如何加深映像,不知道如何提升自己,这个时候每天刷自主刷一些题就非常重要(百炼成神),可以去牛客网上的编程初学者入门训练。该专题为编程入门级别,适合刚学完语法的小白练习,题目涉及编程基础语法,基本结构等,每道题带有练习模式和考试模式,可还原考试模式进行模拟,也可通过练习模式进行练习 。


    七、🎁更多干货

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

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

    3.

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

  • 相关阅读:
    MTK手机平台充电原理
    计算机毕业设计Java安全管理系统(源码+系统+mysql数据库+lw文档)
    什么是SIMD?
    C Primer Plus(6) 中文版 第10章 数组和指针 10.8 变长数组(VLA)
    【C标准库】详解feof函数与EOF
    Spring整合MyBatis导致一级缓存失效问题
    7、索引优化分析
    sentinel整合nacos持久化
    http传输为什么是采用TCP传输
    Spring技术——介绍、初识
  • 原文地址:https://blog.csdn.net/qq_38517811/article/details/127610213