• HTML简单的网页制作期末作业【NBA勒布朗詹姆斯篮球明星】HTML+CSS+JavaScript



    一、👨‍🎓网站题目

    🏀校园篮球网页设计、⚽足球体育运动、🤽体育游泳运动、🏓兵乓球 、🎾网球、等网站的设计与制作。


    二、✍️网站描述

    🏷️ 大学生校园运动静态HTML网页设计作品,采用DIV CSS布局制作,内容包括:校园运动、运动技巧、运动规则、技术规则、经典动作。页面主体内容区域宽度为1200PX。网页整体使用CSS设置了网页背景图片。页面精美包含多个排版布局,学生网页作业水平制作。

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

    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>
    <link href="css/all.css" rel="stylesheet"  media="all" type="text/css" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="js/jquery-1.8.3.min.js">script>
    <script type="text/javascript" src="js/koala.min.1.5.js">script>
    
    <title>网站首页title>
    head>
    
    <body>
    <div class="banner"> div>
    <div class="menu">
       <ul class="center">
          <li><a href="index.html">网站首页a>li>
        <li><a href="jibenxinxi.html">基本信息a>li>
        <li><a href="gerenjilu.html">个人记录a>li>
        <li><a href="jingcaitupian.html">精彩图片a>li>
        <li><a href="huojiangjilu.html">获奖记录a>li><li><a href="liuyan.html">作者留言a>li>
      ul>
    div>
    <div class="content">
      <div class="left">
        <div class="pics">
             
              
              <div id="fsD1" class="focus">
                <div id="D1pic1" class="fPic">
                  <div class="fcon" style="display: none;"> <a target="_blank" href="#"><img src="images/shouye_15.jpg" style="opacity: 1; ">a> div>
                  <div class="fcon" style="display: none;"> <a target="_blank" href="#"><img src="images/big.jpg" style="opacity: 1; ">a> div>
                  <div class="fcon" style="display: none;"> <a target="_blank" href="#"><img src="images/GetLargeImg1.jpg" style="opacity: 1; ">a> div>
                div>
                <div class="fbg">
                  <div class="D1fBt" id="D1fBt"> <a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i>1i>a> <a href="javascript:void(0)" hidefocus="true" target="_self" class=""><i>2i>a> <a href="javascript:void(0)" hidefocus="true" target="_self" class="current"><i>3i>a> div>
                div>
                <span class="prev">span> <span class="next">span> div>
              <script type="text/javascript">
    	Qfast.add('widgets', { path: "js/terminator2.2.min.js", type: "js", requires: ['fx'] });  
    	Qfast(false, 'widgets', function () {
    		K.tabs({
    			id: 'fsD1',   //焦点图包裹id  
    			conId: "D1pic1",  //** 大图域包裹id  
    			tabId:"D1fBt",  
    			tabTn:"a",
    			conCn: '.fcon', //** 大图域配置class       
    			auto: 1,   //自动播放 1或0
    			effect: 'fade',   //效果配置
    			eType: 'click', //** 鼠标事件
    			pageBt:true,//是否有按钮切换页码
    			bns: ['.prev', '.next'],//** 前后按钮配置class                          
    			interval: 3000  //** 停顿时间  
    		}) 
    	})  
    script> 
              
               
        div>
      div>
      <div class="right">
        <h4 class="mar">基本信息h4>
        <div class="produce">
        勒布朗·詹姆斯(LeBron James),1984年12月30日出生在美国俄亥俄州阿克伦,美国职业篮球运动员,司职小前锋,绰号“小皇帝”,效力于NBA洛杉矶湖人队。<br />
    勒布朗·詹姆斯在2003年NBA选秀中于首轮第1顺位被克利夫兰骑士队选中。2003-2010年,詹姆斯效力于骑士队,期间2次当选NBA最有价值球员(MVP)。2010年,詹姆斯转会至迈阿密热火队,与德怀恩·韦德、克里斯·波什组成“三巨头”阵容。2012年,詹姆斯得到NBA个人生涯的第3座常规赛MVP,第1个总冠军和总决赛MVP。      p>
        div>
      div>
      <div class="bar">图片div>
      <div class="pics scrollleft" >
        <ul>
          <li>
            <p><img src="images/1.jpg" width="230" height="160"/>p>
          li>
          <li>
            <p><img src="images/2.jpg" width="230" height="160"/>p>
          li>
          <li>
            <p><img src="images/3.jpg" width="230" height="160"/>p>
          li>
          <li>
            <p><img src="images/4.jpg" width="230" height="160"/>p>
          li>
          <li>
            <p><img src="images/5.jpg" width="230" height="160"/>p>
          li>
          <li>
            <p><img src="images/6.jpg" width="230" height="160"/>p>
          li>
          <li>
            <p><img src="images/7.jpg" width="230" height="160"/>p>
          li>
          <li>
            <p><img src="images/8.jpg" width="230" height="160"/>p>
          li>
        ul>
        <div class="clear">div>
      div>
     
      <div class="bar">留言板div>
      <div class="msg pad">
        <div> <span class="fl">你的性别:span>
          <input type="radio" name="aa" /><input type="radio" name="aa" />div>
        <div> <span class="fl">留言主题:span>
          <input type="text" size="50" />
        div>
        <div> <span class="fl">留言内容:span>
          <textarea style="width:400px" rows="5">textarea>
        div>
        <div> <span class="fl">提交留言:span>
          <input type="submit"  value="提交" />
        div>
      div>
      <div class="clear">div>
    div>
    <div class="end">
      <p>版权所有  网址:www.xxxx.comp>
    div>
    <div class="clear">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

    💒CSS样式代码

    @charset "utf-8";
    /* CSS Document */
    ul,li,h1,h2,h3,p{ padding:0; margin:0; list-style:none}
    a{ text-decoration:none; color:#000}
    html{ }
    body{background:url(../images/timg.jpg) no-repeat  center top #000; width:1000px; margin:0 auto; line-height:21px}
    .clear{ clear:both}
    .menu li{ list-style:none; font-weight:bold; text-decoration:underline}
    .logo{ position:absolute; top:50px; width:250px; height:100px; margin-left:40px}
    .banner{ position:relative; height:400px}
    
    .menu{ width:100%; text-align:center; float:left; background:url(../images/menu.jpg)}
    .menu li a{ background:#000; border:#fff solid 1px; padding:5px; color:#9F0}.menu li {float:left; padding:15px 30px ; width:100px}
    
    .right{ float:right; width:460px; padding:20px}
    .left{ min-height:250px; float:left; width:460px; padding:20px}
    .content{ background:#fff; font-size:14px; display:inline-block ; width:100%}
    
    .pics li{ float:left}
    .end{ clear:both; background:#603; color:#fff; padding:30px 0; text-align:center;}
    .produce img{  margin:0 20px 20px 0}
    .produce {}
    .pad{ padding:20px; display:block}
    .pics p{ margin:2px; text-align:center}
    .mar{ margin:5px 0}
    .imglist{ width:840px; margin:0 auto}
    .imglist li{ float:left; width:400px; margin:10px ; text-align:center}
    .scrollleft{ margin:0 30px}
    .news li{ padding:5px;}
    
    .title{ text-align:center; color:#F00; padding:10px}
    .fl{ float:left}
    .js  div{ width:100%; clear:both; margin-bottom:20px; float:left}
    
    .js div img{ float:left; margin-right:20px} 
    .msg>div{ padding:10px}
    
    .bar{ border:#000 solid 1px; margin:20px; clear:both; background:url(../images/menu.jpg); color:#9F0; text-decoration:underline;  padding:5px}
    
    
    
    .focus{ position:relative; width:470px; height:250px;  background-color: #000; float: left;}  
    .focus img{ width: 470px; height: 250px;} 
    .focus .shadow .title{width: 260px; height: 65px;padding-left: 30px;padding-top: 20px;}
    .focus .shadow .title a{ text-decoration:none; color:#fff; font-size:14px; font-weight:bolder; overflow:hidden; }
    .focus .btn{ position:absolute; bottom:34px; left:510px; overflow:hidden; zoom:1;} 
    .focus .btn a{position:relative; display:inline; width:13px; height:13px; border-radius:7px; margin:0 5px;color:#B0B0B0;font:12px/15px "\5B8B\4F53"; text-decoration:none; text-align:center; outline:0; float:left; background:#D9D9D9; }  
    .focus .btn a:hover,.focus .btn a.current{  cursor:pointer;background:#fc114a;}  
    .focus .fPic{ position:absolute; left:0px; top:0px; }  
    .focus .D1fBt{ overflow:hidden; zoom:1;  height:16px; z-index:10;  }  
    .focus .shadow{ width:100%; position:absolute; bottom:0; left:0px; z-index:10; height:80px; line-height: 80px; background:rgba(0,0,0,0.6);    
    filter:progid:DXImageTransform.Microsoft.gradient( GradientType = 0,startColorstr = '#80000000',endColorstr = '#80000000')\9;  display:block;  text-align:left; }  
    .focus .shadow a{ text-decoration:none; color:#fff; font-size:20px; overflow:hidden; margin-left:10px; font-family: "\5FAE\8F6F\96C5\9ED1";}  
    .focus .fcon{ position:relative; width:100%; float:left;  display:none; background:#000  }  
    .focus .fcon img{ display:block; }  
    .focus .fbg{bottom:25px; right:40px; position:absolute; height:21px; text-align:center; z-index: 200; }  
    .focus .fbg div{margin:4px auto 0;overflow:hidden;zoom:1;height:14px}    
    .focus .D1fBt a{position:relative; display:inline; width:12px; height:12px; border-radius:7px; margin:0 5px;color:#B0B0B0;font:12px/15px "\5B8B\4F53"; text-decoration:none; text-align:center; outline:0; float:left; background:#D9D9D9; }    
    .focus .D1fBt .current,.focus .D1fBt a:hover{background:#fc114a;}    
    .focus .D1fBt img{display:none}    
    .focus .D1fBt i{display:none; font-style:normal; }    
    .focus .prev,.focus .next{position:absolute;width:40px;height:74px;background: url(../images/focus_btn.png) no-repeat;}
    .focus .prev{top: 50%;margin-top: -37px; left: 0;background-position:0 -74px; cursor:pointer; }  
    .focus .next{top: 50%;margin-top: -37px; right: 0;  background-position:-40px -74px;  cursor:pointer;}  
    .focus .prev:hover{  background-position:0 0; }  
    .focus .next:hover{  background-position:-40px 0;}  
    
    
    
    
    • 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

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

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


    七、🎁更多干货

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

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

    3.

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

  • 相关阅读:
    5.LinkedList
    Google guava之Table简介说明
    PLONK 的工作原理:第 2 部分
    开源免费的对象存储Minio
    【excel】一些实例3
    5-1:什么是Servlet-开发你的第一个动态网站
    【熵与特征提取】从近似熵,到样本熵,到模糊熵,再到排列熵,包络熵,散布熵,究竟实现了什么?(第五篇)——“包络熵”及其MATLAB实现
    【信创】到底是什么呢?--九五小庞
    Kerberos大揭秘之-身份认证请求和响应详解
    【工厂模式】简单工厂模式-简单例子
  • 原文地址:https://blog.csdn.net/QQ_____365392777/article/details/126198798