• DIV布局个人介绍网页模板代码 家乡海阳个人简介网页制作 简单个人静态HTML网页设计作品 DW个人网站制作成品 web网页制作与实现


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


    ⚽精彩专栏推荐👇🏻👇🏻👇🏻

    【作者主页——🔥获取更多优质源码】
    【web前端期末大作业——🔥🔥毕设项目精品实战案例(1000套)】


    一、网页介绍📖

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

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

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


    一、网页效果🌌

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


    二、代码展示😈


    1.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/style.css" rel="stylesheet" type="text/css" />
    head>
    <body>
    
    <div class="top">
    				<img src="images/logo.jpg">
    
    			div>
    <div id="nav">
    <ul>                            
    <li><a href="index.html">网站首页a>li>
    <li><a href="about.html">家乡简介a>li>
    <li><a href="news.html">家乡新闻a>li>
    <li><a href="liuyan.html">在线留言a>li>
    <li><a href="jianjie.html">个人简介a>li>
    ul>
    div>
    
    
    <div class="main">
    <div class="box">
       <img src="images/banner1.jpg">
       
    div>
    <div class="nr">
    <div class="tit-s">家乡简介div>
    <div class="box1">
    <div class="box1-left"><img src="images/gr.jpg" />div>
    <div class="box1-right">
    <P> 海阳市,隶属于山东省烟台市。位于山东半岛东南部,烟台市境南部,东邻乳山、牟平,西接莱阳,北连栖霞,南濒黄海,西南隔丁字湾与即墨相望。总面积1886.84平方千米。海阳市位于胶东半岛南端,因地处黄海之阳而得名。P>
    <P>2018年,海阳市下辖4个街道、10个镇,另设有3个工业区、1个旅游区 ,户籍人口为64.2643万人,实现地区生产总值(GDP)341.7亿元,其中,第一产业增加值77.1亿元,第二产业增加值125.3亿元,第三产业增加值139.3亿元。2019年11月,入选第二批节水型社会建设达标县(区)名单。P>
    <P>海阳市位于山东半岛南部,东邻乳山、牟平,西接莱阳,北连栖霞,南濒黄海,西南隔丁字湾与即墨相望。介于东经120°50′一121°29′,北纬36°16′一37°10′之间,总面积1886.84平方千米。市区距烟台市119千米,离济南市420千米,至北京市883千米。P>
    div>
    
    div>
    <div class="caiz">
    <ul>
    <li><img src="images/dg1.jpg">li>
    <li><img src="images/dg2.jpg">li>
    <li><img src="images/dg3.jpg">li>
    <li><img src="images/dg4.jpg">li>
    ul>
    div>
    <div class="bx2">
    <div class="left">
    <h1><a href="news.html">家乡新闻<span>更多》span>a>h1>
    <ul>
    <li><a href="news01.html"><p>烟台海阳这个山村里, 有棵近500年历史的柘树p><span>2019-12-16span>a>li>
    <li><a href="news02.html"><p>冬季逛烟台海阳徐家店大集, 虽然天冷但集上挺热闹p><span>2019-12-11span>a>li>
    <li><a href="news01.html"><p>烟台海阳这个山村里, 有棵近500年历史的柘树p><span>2019-12-16span>a>li>
    <li><a href="news02.html"><p>冬季逛烟台海阳徐家店大集, 虽然天冷但集上挺热闹p><span>2019-12-11span>a>li>
    <li><a href="news01.html"><p>烟台海阳这个山村里, 有棵近500年历史的柘树p><span>2019-12-16span>a>li>
    <li><a href="news02.html"><p>冬季逛烟台海阳徐家店大集, 虽然天冷但集上挺热闹p><span>2019-12-11span>a>li>
    ul>
    div>
    <div class="right">
    <img src="images/new.jpg">
    div>
    div>
    
    div>
    
    div>
    
    
    <div class="foot">
    <p>p>
    
    <p>版权所有:我的家乡烟台海阳p>
    
    <p>p>
    
    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

    2.CSS样式代码 🏠

    
    @charset "utf-8";
    /* CSS Document */
    body{ margin:0 auto; font-size:14px; font-family: "微软雅黑"; line-height:22px; background:#fbf6d9    }
    
    div,p,input,ul,li,h1,h2,h3{ height:auto; margin:0;; padding:0; vertical-align:middle ;}
    li{ list-style:none;}
    a{ text-decoration:none; color:#000;}
    
    /*---top开始-----*/
    .top{ width: 1000px; height: 100px; background:#FFF; margin:0 auto;}
    .top img{margin-top: 10px; margin-left: 20px;float: left;}
    #nav{ width:1000px; height:50px; background:#bc7018; margin:0 auto;}
    #nav ul{ width:1000px; height:50px; line-height:50px; font-size:14px;  margin:0 auto;}
    #nav ul li{ width: 200px; height:50px; line-height:50px; color:#FFF; float:left; text-align:center;}
    #nav li a {
    	color:#FFF;
    	font-family: "微软雅黑";
    	font-size:16px;
    	margin-left: 2px;
    	display: block;
    	font-weight:bold;
    }
    
    .main{     width: 1000px;
        margin: 0 auto;
        height: auto;
        overflow: hidden;
    }
    
    /*---top结束-----*/
     .box {
    	width: 1000px;
    	height: 335px;
    	
            }
          
    .nr{width: 960px;
    height: auto;
    overflow: hidden;
    background:
    #FFF;
    padding: 20px;
    }
    .tit-s {
        font-size: 16px;
        height: 40px;
        line-height: 40px;
         font-weight: bold;
     	width: 940px;
    	padding:0px 10px;
    	border-bottom:#bc7018 1px solid;
    }
    .tit-s span a{ float:right; font-weight:normal; font-size:12px;color: #FFF;}
    .caiz{ width:100%; height: auto; overflow:hidden;}
    .caiz ul{margin-top: 20px;
    padding: 0px 10px;}
    .caiz ul li
    {
    width: 225px;
    height: 220px;
    padding: 5px;
    float: left;
    	} 
    .caiz ul li img{     
    width: 225px;
    height: 200px;
    }
    
    .box1{ width:960px; height:260px;}
    .box1-left{ width:200px; height:220px; padding:20px; float:left;}	
    .box1-right{ width:700px; margin-left:20px; height:220px; float:left;margin-top: 20px;}
    .box1-right-tit{ font-size: 16px;color: #333;font-weight: bold; height:40px; line-height:40px;}
    .box1-right p{ font-size:14px; line-height:22px; text-indent:2em;}
    .bx2{ height:275px; margin-bottom:15px; width:960px;border:#e8e8e6 1px solid;}
    .bx2 .left{ width:490px; height:243px; padding:15px; float:left; margin-right:16px;}
    .bx2 h1{ height:40px; line-height:40px; font-size:20px;border-bottom:#bc7018 1px dashed; margin-bottom:10px;}
    .bx2 h1 a{ color:#bc7018;  }
    .bx2 h1 span{ float:right; font-size:14px; font-weight:normal; color:#333;}
    .bx2 h2{ line-height:35px; font-size:16px;}
    .bx2 h2 span{ color:#F00;}
    .bx2 h3{ font-size:12px; font-weight:normal; line-height:20px; color:#666;}
    .bx2 ul li{height: 32px;
    background: url(../images/ico.png) no-repeat 0px 12px;
    line-height: 32px;
    font-size: 14px;}
    .bx2 ul li a{ color:#000;}
    .bx2 ul li p{width: 410px;float: left;}
    .bx2 ul li p span{ width:76px; float:left;}
    .bx2 .right{ width:388px; height:243px;padding:15px;  float:right; }
    .bx2 .right h1{ width:388px; height:20px; background:#41628f; font-size:12px; line-height:20px; text-align:center; color:#FFF; font-weight:normal;}
    
    /*---foot开始-----*/
    .foot{width: 1000px;
    height:150px;
    background:#bc7018;
    margin: 0 auto;
    padding-top: 20px;}
    .foot p{ width:1000px; height:30px; line-height:30px;color:#FFF; margin:0 auto ; text-align:center; }
    /*---foot结束-----*/
    .titile{
    	width:225px;
    	height:65px;
    	background:url(../images/bg01.jpg) no-repeat;
    	margin:0 auto;	
    	margin-top: 20px;
    	margin-bottom:20px;
    	}
    .titile h2{ line-height: 55px;
    font-size: 34px;
    font-weight: normal;
    text-align: center;}	
    .jies {
    	width: 960px;
    	margin: 0 auto;
    	background:#FFF;
    	padding:20px;
    }
    
    .jies img {
    	float: left;
    	margin: 15px;
    }
    
    .jies p {
    	text-indent: 2em;
    	line-height: 25px;
    	font-size: 14px;
    }
    
    .news{ width:100%; }
    .news ul li{  line-height:40px; height:40px; border-bottom:#CCC 1px dashed;  color:#3d2915;}
    .news ul li a{ float:left;  display:block; line-height:40px; height:40px; background:url(../images/lvdian.jpg) left center no-repeat; color:#3d2915; padding-left:20px; }
    .news ul li a:hover{ color:#000;}
    .news ul li span{ float:right; color:#666; line-height:40px;}
    
    .conr {
    	width: 960px;
    	height:600px;
    	overflow: hidden;
    	border-top: #ffffff 2px solid;
    	margin: 0 auto;
    	padding:20px;
    	background:#FFF;
    }
    
    .conr img {
    	width: 300px;
    		margin: 10px;
    	margin-bottom: 5px;
    }
    
    .conr p {
    	line-height: 30px;
    	text-indent: 2em
    }
    
    .shet {
    	height: auto;
    	min-height: 230px;
    	margin-bottom: 20px;
    	padding-bottom: 10px;
    }
    
    .shet h1 {
    	height: 45px;
    	line-height: 45px;
    	font-size: 18px;
    }
    
    .mr {
    	float: left;
    	margin-right: 20px !important;
    }
    
    
    .nr {
    	
    	height: auto;
    	overflow: hidden;
    	background: #FFF;
    	padding-top: 20px;
    	padding-bottom: 20px;
    }
    .title2 {
    	height: 30px;
    	line-height: 30px;
    	font-size: 12px;
    	text-align: center;
    	color: #999;
    	font-weight: normal;
    }
    
    .title2 span {
    	
    	color: #666 !important;
    	font-weight: normal;
    }
    .neirong {
    	width: 960px;
    	height: auto;
    	overflow: hidden;
    	background: #FFF;
    	
    }
    
    .neirong p {
    	text-indent: 2em
    }
    
    .neirong img {
    	display: block;
    	margin: 0 auto;
    	margin-top: 10px;
    	margin-bottom: 10px;
    }
    
    .ntitle {
    	font-size: 16px;
    	height: 80px;
    	line-height: 40px;
    	margin: 0 auto;
    	text-align: center;
    	color: #333;
    	margin-left: 20px;
    	font-weight: bold;
    	border-bottom: #CCC 1px dashed;
    	margin-bottom: 20px;
    }
    
    
    
    • 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
    • 221
    • 222
    • 223
    • 224
    • 225
    • 226
    • 227
    • 228
    • 229
    • 230
    • 231

    三、个人总结😊

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

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

    四、更多干货🚀

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

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

    3.以上内容技术相关问题😈欢迎一起交流学习👇🏻👇🏻👇🏻🔥在这里插入图片描述

  • 相关阅读:
    7.5模拟赛总结
    RestTemplate用法
    【MySQL】查询优化
    举例详解 TCP/IP 五层(或四层)模型与 OSI七层模型对比 (画图详解 一篇看懂!)
    【机器学习】支持向量机(实战)
    真题集P91---2018年计专真题
    python 方法加强@ pytho中@ python@
    APS排程软件与ERP、MES的集成方式
    cobalt strike钓鱼lnk报错:无法连接到远程服务器
    hbase 集成 phoenix 实现 sql 化
  • 原文地址:https://blog.csdn.net/stu_365392777/article/details/126188587