我的家乡哈尔滨HTML静态网页 学生个人网页设计作品 学生家乡网页模板 简单个人主页成品

一、👨‍🎓网站题目


旅游,当地特色,历史文化,特色小吃等网站的设计与制作。

二、✍️网站描述


👨‍🎓静态网站的编写主要是用HTML DIV+CSS 等来完成页面的排版设计👩‍🎓,常用的网页设计软件有Dreamweaver、EditPlus、HBuilderX、VScode 、Webstorm、Animate等等,用的最多的还是DW,当然不同软件写出的前端Html5代码都是一致的,本网页适合修改成为各种类型的产品展示网页,比如美食、旅游、摄影、电影、音乐等等多种主题,希望对大家有所帮助。

三、📚网站介绍

📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。

📓网站程序方面:计划采用最新的网页编程语言HTML5+CSS3程序语言完成网站的功能设计。并确保网站代码兼容目前市面上所有的主流浏览器,已达到打开后就能即时看到网站的效果。

📘网站素材方面:计划收集各大平台好看的图片素材,并精挑细选适合网页风格的图片,然后使用PS做出适合网页尺寸的图片。

📒网站文件方面:网站系统文件种类包含:html网页结构文件、css网页样式文件、js网页特效文件、images网页图片文件;

📙网页编辑方面:网页作品代码简单,可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html编辑软件进行运行及修改编辑等操作)。
其中:
(1)📜html文件包含:其中index.html是首页、其他html为二级页面;
(2)📑 css文件包含:css全部页面样式,文字滚动, 图片放大等;

 四、🌐网站效果

五、🪓 代码实现

🧱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/1.css" rel="stylesheet" type="text/css" />
<style>
    .container{
          width: 600px;
    }

    .mes-board{
          margin: 25px 0;
          padding: 10px;
          background-color: gray;

    }
    .mes-board li{
          padding: 0.7em;
          list-style: none;
    }
    .mes-board li + li {
           border-top: 1px dashed #ffffff;
    }
    .mes-board h4{
          display: inline;
          margin-right: 10px;
          font-weight: 400px;
          color: #000000;
    }
    .mes-board small{
          color: #999999;
          float: right;
    }
    .mes-board div{
          padding: 0.4em 0;
          text-align: justify;
          font-size: 12px;
          margin-top: 10px;
    }
</style>
</head>
<body>
<div class="mian">
<div class="top">
<div class="logo">
<!-- <img src="img/logo.png"  width="100%"/> -->
</div>
</div>
<div id="nav">
<ul>
<li><a href="index.html">网站首页</a></li>
<li><a href="jianjie.html">家乡简介</a></li>
<li><a href="techan.html">家乡特产</a></li>
<li><a href="liuyan.html">在线留言</a></li>
</ul>
</div>
<div class="content">
<div class="ibox1">


<div class="title"><h1>留言板</h1></div>
<div style="margin-left: 420px;">
<form action="/" method="post">
    <!-- 文本输入框 -->
    <label for="name" >用户名:</label>
    <input type="text" id="name" name="name" required>

    <br>

    <!-- 密码输入框 -->
    <label for="password" >密  码:</label>
    <input type="password" id="password" name="password" required>

    <br>
</form>
<div class="container">
    <!--发送留言-->


    <div class="form-group" style="margin-top: 10px;">
     <label for="userName">留言内容:</label>
    <textarea class="form-control" rows="3" id="content"></textarea>


    <span id="msg" style="color: red;"></span>
   
</div>
<input type="submit" value="提交">
</div>
</div>



</div>


</div>
<div class="foot">版权所有&copy;我的家乡哈尔滨</div>

</div>
</body>
</html>
🧱css
@charset "utf-8";
/* CSS Document */

body {
    margin: 0 auto;
    font-size: 14px;
    font-family: "微软雅黑",arial;
    line-height: 22px;
    background:#e9ecec;
}

div,p,input,ul,li,h1 {
    height: auto;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

li {
    list-style: none;
}

img {
    border: 0;
    margin: 0;
    padding: 0;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #c60707;
    text-decoration: none;
    overflow: hidden;
}
.mian{
    width:1100px;
    height:auto;
    overflow:hidden;
    margin:0 auto;
    }
.top{
    height:335px;
    width: 100%;

    }
.logo{
   
    height:335px;
    padding-top:75px;
    margin:0 auto;
    background:url(../img/logo.png);
    background-repeat: no-repeat;
    }
#nav{
    height:45px;
    background:#0ab0b6; 
    }
#nav ul{
    padding:0px;
    }
#nav ul li{
    width:275px;
    text-align:center;
    height:45px;
    float:left;
    }
#nav ul li a{
    display:block;
    width:275px;
    height:45px;
    line-height:45px;
    color:#FFF;
    font-size:18px;
    }
#nav ul li a:hover{
    background:#34bfc4;
    }
.content{
    height:auto;
    overflow:hidden;
    background:#FFF;
    padding:20px;
    }
.ibox1{
    height:441px;
    margin-bottom:30px;
    }
.ibox1-left{
    width:496px;
    height:441px;
    float:left;
    margin-right:20px;
    }
.ibox1-right{
    width:544px;
    float:left;
    }
.ibox1-right p{
    line-height:30px;
    font-size:14px;
    text-indent:2em;
    margin-bottom:10px;
    }
.title{
    padding-left:20px;
    height:45px;
    border-bottom:#3c7301 1px solid;
    background:url(../images/img3.jpg) no-repeat;
    margin-bottom:20px;
    }
.title h1{
    font-size:18px;
    color:#0ab0b6;
    line-height:40px;
    }
.more{
    height:45px;
    line-height:45px;
    width:207px;
    text-align:center;
    margin:0 auto;
    background:#0ab0b6;
    }
.more a{
    color:#FFF;
    font-size:14px;
    }
.ibox2{
    height:590px;
    }
.ibox2-ner{
    height:480px;
    padding-top:20px;
    }
.bx{
    width:217px;
    float:left;
    margin:0px 20px;
    }
.bx h2{
    color:#0e0e0e;
    line-height:25px;
    font-size:14px;
    text-align:center;
    margin-bottom:15px;
    font-weight:normal;
    }   
.xhao{
    width:30px;
    height:30px;
    margin:0 auto;
    background:url(../images/xuh.png) no-repeat;
    line-height:30px;
    text-align:center;
    color:#FFF;
    font-size:16px;
    margin-bottom:20px; 
    }
.foot{
    height:110px;
    background:#0ab0b6;
    line-height:110px;
    text-align:center;
    font-size:14px;
    color:#FFF;
    }
.tit{
    height:55px;
    line-height:55px;
    text-align:center;
    font-size:20px;
    font-family:"微软雅黑";
    }
.content p{
    line-height:25px;
    font-size:14px;
    text-indent:2em;
    margin-bottom:10px;
    }
.centimg{
    display:block;
    margin:0 auto;
    margin-top:10px;
    margin-bottom:10px;
    }
hr{
    margin-bottom:30px;
    }


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

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

七、🎁更多干货

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

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

3.以上内容技术相关问题💌欢迎一起交流学习👇🏻👇🏻👇🏻🔥源代码:

4.有任何意见或者不懂得地方可以在评论区留言,也可以私信,我会认真看也会回复的哦

  • 11
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值