• 1000套HTML5期末大作业——电影我不是药神响应式页面带轮播(4页)


    HTML实例网页代码, 本实例适合于初学HTML的同学。该实例里面有设置了css的样式设置,有div的样式格局,这个实例比较全面,有助于同学的学习,本文将介绍如何通过从头开始设计个人网站并将其转换为代码的过程来实践设计。

    一、网页介绍

    1 网页简介:此作品为学生个人主页网页设计题材,HTML+CSS 布局制作,web前端期末大作业,大学生网页设计作业源码,这是一个不错的网页制作,画面精明,代码为简单学生水平, 非常适合初学者学习使用。

    2.网页编辑:网页作品代码简单,可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html编辑软件进行运行及修改编辑等操作)。

    3.知识应用:技术方面主要应用了网页知识中的: Div+CSS、鼠标滑过特效、Table、导航栏效果、Banner、表单、二级三级页面等,视频、 音频元素 、Flash,同时设计了Logo(源文件)所需的知识点。


    一、网页效果

    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述

    二、代码展示

    1.HTML代码

    代码如下(示例):以下仅展示部分代码供参考~

    
    <html>DOCTYPE html>
    
    <head id="Head">
    <script type="text/javascript">var allpane = 'topAreaA|headerAreaA|mainArea|footerAreaA|bottomAreaA|fixedBottomArea|fixed-left|fixed-right|popup-area';script>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    
    <meta content="width=device-width, initial-scale=1.0, user-scalable=no" name="viewport">
    head>
    
    
    <body class="font-zh-CN" style="">
    er">
                        <div id="a1portalSkin_ctr216339216339_mainArea" class="module-content">
                          <div class="qhd-content">
                            <p> <span style="color:#3869b3;"><span style="font-size:16px;">咨询热线:400-123-4567  span>span><span style="color:#808080;"><span style="font-size:16px;"> |  <a href="#">腾讯微博a>  |  <a href="#" >新浪微博a>span>span>p>
                          div>
                          div>
                      div>
                    div>
                  div>
                div>
                <div class="clear">div>
                
                <nav class="nav">
                  <div class="main-nav clearfix" skinobjectzone="menu_701">
                    <ul class="sf-menu">
                      <li  class='current' ><a class="first-level" href="index.htm"  target=""><strong>首页strong>a><i>i>li>
                      <li class=""><a class="first-level" href="index-1.htm"  target=""><strong>角色介绍strong>a><i>i>
                          <ul class="">
                            
                          ul>
                        li><li class=""><a class="first-level" href="index-2.htm"  target=""><strong>获奖记录strong>a><i>i>
                          <ul class="">
                            
                          ul>
                        li><li class=""><a class="first-level" href="index-3.htm"  target=""><strong>电影评价strong>a><i>i>
                          <ul class="">
                            <li class=""><a class="" href="#"  target=""><strong>电影评价strong>a>li><li class="">li>
                          ul>
                        li><li class=""><i>i>
                          <ul class="">
                            <li class=""><a class="" href="index-4.htm"  target=""><strong>公司新闻strong>a>li><li class=""><a class="" href="index-9.htm"  target=""><strong>行业动态strong>a>li><li class=""><a class="" href="index-10.htm"  target=""><strong>视频中心strong>a>li>
                          ul>
                        li><li class="">li>
                          <ul class="">
                            
                          ul>
                        li>
                    ul>
                  div>
                nav>
                div>
            div>
          div>
          
          <div class="clear">div>
        header>
        
    
                    ul>
                  li><li><a href="javascript:;"><span>新闻资讯span><i class="touch-arrow-down">i>a>
                    <ul>
                      
                      <li><a href="index-4.htm" ><span>公司新闻span>a>li>
                      
                      <li><a href="index-9.htm" ><span>行业动态span>a>li>
                      
                      <li><a href="index-10.htm" ><span>视频中心span>a>li>
                      
                    ul>
                  li>
                  <li><a href="index-5.htm" ><span>联系我们span>a>li>
                ul>
              div>
            div>
            <script type="text/javascript">
        $(document).ready(function(){
         
         $(".touch-toggle a").click(function(event){
          var className = $(this).attr("data-drawer");
          
          if( $("."+className).css('display') == 'none' ){      
           $("."+className).slideDown().siblings(".drawer-section").slideUp();
          }else{
           $(".drawer-section").slideUp(); 
          }
          event.stopPropagation();
         });
         
         /*$(document).click(function(){
          $(".drawer-section").slideUp();     
         })*/
         
         $('.touch-menu a').click(function(){     
          if( $(this).next().is('ul') ){
           if( $(this).next('ul').css('display') == 'none' ){
            $(this).next('ul').slideDown();
            $(this).find('i').attr("class","touch-arrow-up");     
           }else{
            $(this).next('ul').slideUp();
            $(this).next('ul').find('ul').slideUp();
            $(this).find('i').attr("class","touch-arrow-down");
           }   
          }
         });
        });
    script>div>
          div>
        
      <div id="a1portalSkin_headerAreaA" class="header"><a name="26322" id="26322">a>
        <div class="page-width">
          <div class="module-default">
            <div class="module-inner">
              <div id="a1portalSkin_ctr216340216340_mainArea" class="module-content">
                <div class="qhd-module">
                  <div class="column marg-per2">
                    <div class="col-4-3">
                      <div id="a1portalSkin_ctr216340216340_Column2C75A25_QHDCPM216340M1" class="qhd_column_contain"><a name="26323" id="26323">a>
                        <div class="module-default">
                          <div class="module-inner">
                            <div id="a1portalSkin_ctr216340216340_Column2C75A25_ctr216341216341_mainArea" class="module-content">
                              <div class="responsive-carousel carousel clearfix">
                                <div id="responsive-216341"> <div class="carousel-item">
                                    <div class="carousel-img"><a href="javascript:;" target=""><img src="images/1-1611220Z3440-L.jpg"  alt="幻灯3" />a>div>
                                  div>
    <div class="carousel-item">
                                    <div class="carousel-img"><a href="javascript:;" target=""><img src="images/1-1611220Z3550-L.jpg"  alt="幻灯2" />a>div>
                                  div>
    <div class="carousel-item">
                                    <div class="carousel-img"><a href="javascript:;" target=""><img src="images/ys3.jpg"  alt="幻灯1" />a>div>
                                  div>
     div>
                                <div class="carousel-btn carousel-btn-fixed" id="carousel-page-216341">div>
                                <script type="text/javascript">
         
      $(window).load(function(){
       $("#responsive-216341").carouFredSel({
        responsive : true,
        width       : '100%',
        items  : { visible : 1 },
        auto     : { pauseOnHover: true, timeoutDuration:5000 },
        swipe     : { onTouch:true, onMouse:true },
        pagination  : "#carousel-page-216341"
        //prev   : { button:"#carousel-prev-216341"},
        //next   : { button:"#carousel-next-216341"},
        //scroll : { fx : "coverfade", duration : 1200, timeoutDuration : 1500 }  
       });
                
                $("#responsive-216341 .carousel-item").show();
      });
    script>div>
                              div>
                          div>
                        div>
                      div>
                    div>
                    <div class="col-4-1 last">
                      <div id="a1portalSkin_ctr216340216340_Column2C75A25_QHDCPM216340M2" class="qhd_column_contain"><a name="26324" id="26324">a>
                        <div class="module-default module-no-margin">
                          <div class="module-inner">
                            <div id="a1portalSkin_ctr216340216340_Column2C75A25_ctr216342216342_mainArea" class="module-content">
                              <div class="qhd-content">
                                <p style="text-align: center; background-color:#6ab852;"> <img alt="" src="images/b517b07d-76df-4c08-a7a2-80481875696c.jpg"  style="width: 285px; height: 382px;" />p>
                              div>
                              div>
                          div>
                        div>
                      div>
                    div>
                  div>
                div>
                div>
            div>
          div>
        div>
      div>
      
      <section class="main">
        <div id="a1portalSkin_mainArea" class="full-screen clearfix"><a name="26317" id="26317">a>
          <div class="module-section">
            <div class="module-section-inner">
              <div class="page-width">
                <div class="module-section-title-wrapper clearfix">
                  <div class="module-section-title clearfix">
                    <h2>基本信息h2>
                  div>
                div>
                <div id="a1portalSkin_ctr216346216346_mainArea" class="module-section-content">
                  <div class="tabs-default">
                    <ul class="tabs-nav clearfix">
                    
                     
                      
                    
                      
    ontent">
                <div class="qhd-content">
                  <p style="text-align: center;"> <img alt="" src="images/weixin.png"  style="width: 180px; height: 180px;" /><br />
                    扫描二维码关注最新动态p>
                div>
                div>
            div>
          div>
        div>
        <div class="popup-close-btn"><a href="javascript:;" title="关闭"><span>关闭span>a>div>
      div>
      <div class="popup-overlay">div>
    div>
    
    <div class="gotop-wrapper"><a href="javascript:;" class="fixed-gotop gotop">a>div>
    
    
     
    body>
    <script src="js/online.js"  type="text/javascript">script> 
    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
    • 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
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163
    • 164
    • 165
    • 166
    • 167
    • 168
    • 169
    • 170
    • 171
    • 172
    • 173
    • 174
    • 175
    • 176
    • 177
    • 178
    • 179
    • 180
    • 181
    • 182
    • 183
    • 184
    • 185
    • 186
    • 187
    • 188
    • 189
    • 190
    • 191
    • 192
    • 193
    • 194
    • 195
    • 196
    • 197
    • 198
    • 199
    • 200
    • 201
    • 202
    • 203
    • 204
    • 205
    • 206
    • 207
    • 208
    • 209
    • 210
    • 211
    • 212
    • 213
    • 214
    • 215
    • 216
    • 217
    • 218
    • 219
    • 220

    2.CSS代码

    
    body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td {
    	margin: 0;
    	padding: 0
    }
    fieldset, img {
    	border: 0
    }
    :focus {
    	outline: 0
    }
    address, caption, cite, code, dfn, em, th, var, optgroup {
    	font-style: normal;
    	font-weight: normal
    }
    h1, h2, h3, h4, h5, h6 {
    	font-size: 100%;
    	font-weight: normal
    }
    abbr, acronym {
    	border: 0;
    	font-variant: normal
    }
    input, button, textarea, select, optgroup, option {
    	font-family: inherit;
    	font-size: inherit;
    	font-style: inherit;
    	font-weight: inherit
    }
    code, kbd, samp, tt {
    	font-size: 100%
    }
    input, button, textarea, select {
    *font-size:100%
    }
    body {
    	line-height: 1.5
    }
    ol, ul {
    	list-style: none
    }
    table {
    	border-collapse: collapse;
    	border-spacing: 0
    }
    caption, th {
    	text-align: left
    }
    sup, sub {
    	font-size: 100%;
    	vertical-align: baseline
    }
    :link, :visited, ins {
    	text-decoration: none
    }
    blockquote, q {
    	quotes: none
    }
    blockquote:before, blockquote:after, q:before, q:after {
    	content: '';
    	content: 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

    三、个人总结

    一套合格的网页应该包含(具体可根据个人要求而定)

    1. 页面分为页头、菜单导航栏(最好可下拉)、中间内容板块、页脚四大部分;
    2. 所有页面相互超链接,可到三级页面,有5-10个页面组成;
    3. 页面样式风格统一布局显示正常,不错乱,使用Div+Css技术;
    4. 菜单美观、醒目,二级菜单可正常弹出与跳转;
    5. 要有JS特效,如定时切换和手动切换图片新闻;
    6. 页面中有多媒体元素,如gif、视频、音乐,表单技术的使用;
    7. 页面清爽、美观、大方,不雷同。
    8. 网站前端程序不仅要能够把用户要求的内容呈现出来,还要满足布局良好、界面美观、配色优雅、表现形式多样等要求。

    四、精彩推荐

    1.看到这里了就 【点赞收藏博文】 三连支持下吧,你的支持是我创作的动力, 【观注作者 |获取更多源码| 优质文章】

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

    3.以上内容技术相关问题可以相互学习交流

    在这里插入图片描述

  • 相关阅读:
    flutter GetMaterialAPP unknownRoute 失效
    1.全排列-(DFS)
    JS前端实现身份证号码合法性校验(校验码校验)
    6.同步异步、正则表达式
    SpringBoot集成WebSocket实现在线聊天
    皮革行业经销商在线系统:简化采购审批流程,轻松管控代理商
    如何在 SOLIDWORKS中创建零件模板 硕迪科技
    美容院如何用店内活动,开拓客源
    【Spark NLP】第 13 章:构建知识库
    工程模块化--项目组件/模块解耦&&放弃业务里的switch case/if else if
  • 原文地址:https://blog.csdn.net/wx_365392777/article/details/126219556