HTML静态网页作业——澳门英文旅游网站设计与实现HTML+CSS+JavaScript

本文主要是介绍HTML静态网页作业——澳门英文旅游网站设计与实现HTML+CSS+JavaScript,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

👨‍🎓学生HTML静态网页基础水平制作👩‍🎓,页面排版干净简洁。使用HTML+CSS页面布局设计,web大学生网页设计作业源码,这是一个不错的旅游网页制作,画面精明,排版整洁,内容丰富,主题鲜明,非常适合初学者学习使用, 这个实例比较全面,有助于同学的学习,本文将介绍如何通过从头开始设计个人网站并将其转换为代码的过程来实践设计。


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

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

文章目录🌰

  • 一、网站题目👨‍🎓
  • 二、网站描述✍️
  • 三、网站介绍📖
  • 四、网站效果🌐
  • 五、网站代码制作部分 📕
    • HTML结构代码🧱
    • CSS样式代码🏡
  • 六、遇到问题及如何解决🔍
  • 七、实训总结😊
  • 八、更多干货🎁


一、网站题目👨‍🎓

🚀 旅游景点介绍、旅游风景区、家乡介绍、等网站的设计与制作。


二、网站描述✍️

旅游景点介绍、旅游风景区是一个介绍简介、行政区划、地理环境、自然环境、教育事业、体育事业、旅游景点、城市荣誉等等。网站集中主要展示了的地方风土人情,并通过访客留言,增加游客的互动体验。同时,地方旅游网站里的每一个网页都采用了统一的设计风格,以加强城市整体面貌统一的宣传效果。最重要的是做出旅游网站独特的风格,更能吸引浏览者的眼球。


三、网站介绍📖

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

网站程序方面:计划采用最新的网页编程语言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代码)。


四、网站效果🌐

网站设计制作的重点是对网页整体设计的布局和对网页整体内容的选题。
网站设计方面:计划实现简洁大气的网页设计效果。
网站功能方面:计划实现各个页面之间的链接跳转功能、鼠标悬停在文字上的变色功能、简单的首页动态图片切换功能、简单的表单提交功能。

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


五、网站代码制作部分 📕

(1)网站首页布局确定好各个板块的内容,并使用了DIV+CSS布局。另外首页使用到的知识主要有图片插入、图片动态切换、导航条、利用CSS固定字体、文字大小、文字颜色、背景颜色。

(2)页面使用了DIV+CSS布局,使用到的知识主要有图片插入、导航条、利用CSS固定字体、文字大小、文字颜色、背景颜色。

(3)表单部分页面使用了DIV+CSS布局,使用到的知识主要有运用了form表单、input文本框和input提交按钮,完成表单信息收集。利用CSS设置input提交按钮文字大小和颜色。

HTML结构代码🧱

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Macao travel</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="web">
<div class="top">
<div class="logo"><img src="images/logo.jpg" /></div>
<div class="nav">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">Introduction</a></li>
<li><a href="scenery.html">Scenery</a></li>
<li><a href="specialty.html">Specialty</a></li>
<li><a href="message.html">Message</a></li>
</ul>
</div>
<div class="sous">
<form>
<input class="inut" />
<button class="btn"></button>
</form>
</div>
</div><div class="banner">
<img src="images/banner.jpg" />
</div><div class="tit">Introduction to Macao</div>
<div class="tit2">My trip to Macau</div>
<div class="bx01">
<div class="bx01-left"><img src="images/img01.jpg"></div>
<div class="bx01-right">
<p>Macau, the Macau Special Administrative Region of the People's Republic of China. It is bounded by Zhuhai, Guangdong Province to the north, Wan Chai and Hengqin in Zhuhai to the West, and Hong Kong to the east, 60 kilometres away, and the south China Sea to the south.</p>
<p>On December 1,1887, Portugal and the Qing government signed the draft Treaty of Sino-portuguese Conference and the draft Treaty of Sino-Portuguese Treaty of Peking Macao was formally occupied and colonized by diplomatic protocol. On 20 December 1999, the Chinese government resumed the exercise of sovereignty over Macao. After more than 400 years of European civilization, the coexistence of Eastern and Western cultures makes Macao a unique city, leaving a large number of historical and cultural relics. The Historic Centre of Macau officially became a world cultural heritage site on July 15,2005. After Macau's return to China, its economy grew faster and more prosperous than ever, a success story for the One Country, Two Systems.</p>
</div>
</div>
<div class="tit">Beautiful scenery</div>
<div class="tit2">My trip to Macau</div>
<div class="bx02">
<div class="bx02-ner">
<div class="left">
<p>It's beautiful. The perfect combination of modern city and classical architecture style.</p>
<img src="images/box01.jpg">
</div>
<div class="right">
<img src="images/box02.jpg">
<img class="mar20" src="images/box03.jpg">
</div>
</div>
</div><div class="foot">
<p>Copyright@2020 Macao travel.All Rights Reserved.</p>
<p>My trip to Macau</p>
</div></div>
<embed src="images/aomen.mp3" autostart="true" loop="true" hidden="true"></embed>
</body>
</html>

CSS样式代码🏡


body{ margin:0 auto; font-size:12px; font-family: Arial, Helvetica, sans-serif; line-height:22px; color:#333; background:#e0ecfa;  }
div,p,input,li,h1,h2,h3,h4,h5{ height:auto; margin:0; padding:0px;vertical-align:middle ;}
li{ list-style:none;}
a{ text-decoration:none; color:#000;}
img{ border:0; margin:0; padding:0;}
.web{width:1140px;height:auto;overflow:hidden;margin:0 auto;background:#FFF;padding:0px 30px;}
.top{height:55px;padding-top:15px;}
.logo{width:116px;height:39px;float:left;margin-right:50px;}
.nav{width:720px;height:39px;float:left;}
.nav ul{padding:0px;margin:0;}
.nav ul li{height:39px;line-height:39px;float:left;margin:0px 20px;}
.nav ul li a{font-size:18px;color: #000;}
.sous{width:140px;height:39px;float:right;}
.inut{width:110px;height:39px;border:none;border-bottom: 1px solid #000;float:left;}
.btn{width:30px;height:30px;background:url(../images/btn.jpg) no-repeat;border:none;margin-top:10px;	}
.banner{width:1140px;height:400px;margin-bottom:25px;}.tit{
height: 60px;
line-height: 60px;
padding-left: 20px;
font-size: 26px;
color: #464543;
text-align: center;
width: 500px;
margin: 0 auto;
border-bottom: #5990b9 1px solid;}
.tit2{height:30px;line-height:30px;font-size:14px;text-align:center;color:#333;margin-bottom: 20px;}
.bx01{ width:100%; height:354px; margin-bottom:20px; }
.bx01-left{ width:400px; height:354px; float:left; margin-right:20px; }
.bx01-right{ width:720px; height:354px; float:left;}
.bx01-right p{line-height:30px;
font-size: 16px;
color: #221e1f;
text-indent: 2em;
margin: 0px;}
.bx02{ width:1140px; height:470px;}
.bx02-ner{ width:1140px; height:420px; margin:0 auto;}
.bx02-ner .left{ width:700px; height:420px; margin-right:20px;float:left; }
.bx02-ner .left p{  font-size:16px; text-align:center; height:40px; line-height:40px;}
.bx02-ner .right{ width:420px; height:420px; float:left;}
.mar20{ margin-top:20px;}
.foot{height:123px;background:#588fb8;padding-top:15px;}
.foot p{height:30px;line-height:30px;font-size:14px;color:#FFF;text-align:center;}
.banner2{width:1140px;height:240px;margin-bottom:25px;}
.title {height: 44px;line-height: 30px;padding-left: 30px;font-size: 18px;margin-bottom:30px;border-bottom: #999 2px solid;font-weight: bold;text-align:center;
}	
.conter{width:1140px;height:auto;overflow:hidden;margin:0 auto;}	
.abt{ width:100%; min-height:500px; height:auto; overflow:hidden; margin-bottom:30px;}
.shipin{ width:600px; height:400px; margin:0 auto;}	
.liuy{height:450px;}
.liuy-left {width: 590px;height:450px;float: left;background: url(../images/box12-1.jpg) no-repeat;
}
.liuy-right {width: 550px;height: 450px;float: left;
}
.l-liuyan {width: 520px;margin: 0 auto;
}
.l-liuyan input{ width: 330px;
height: 30px;
border: #cecccc 1px solid;
float: left;
margin-right: 30px;
margin-bottom: 20px;
padding-left: 30px;
font-size: 16px;
float: left;}
.l-liuyan span{ float: left;
line-height: 30px;
font-size: 18px;
width: 120px;
}
.l-anniu {width: 150px;height: 55px;background: #217fc5;text-align: center;line-height: 50px;font-size: 14px;color: #FFF;margin: 0 auto;margin-top: 45px;margin-bottom: 97px;
}	
.jies {width: 1140px;margin: 0 auto;margin-top: 0px;margin-bottom: 0px;margin-top: 20px;margin-bottom: 50px;
}
.lv-box{  height:225px; padding:20px 0px;}
.lv-box img{ width:300px; height:203px; float:left; margin-right:20px;}
.lv-box-r{ width:820px; height:225px; float:left;}
.lv-box .lv-tit{ font-size:16px; height:40px; line-height:40px; font-weight:bold;}
.lv-box p{ font-size:14px; line-height:30px; float:left; text-indent:2em;}
.lv-box a{ color:#000;}
.lv-box span{ height:50px; line-height:50px; float:right; margin-right:20px;}
.lv-box span a{ color:#F00;}	
.ncontu {
line-height: 22px;
padding: 0px 12px;
color: #464646;
height: 470px;
width: 1140px;
}
.ncontu ul {padding:0px;	
}
.ncontu ul li {width: 260px;  float: left; height: 280px; overflow:hidden;margin:0px 10px;text-align:center;
}
.ncontu ul li p{line-height:30px;font-size:14px;}
.nr {width: 1140px;height: auto;overflow: hidden;background: #FFF;padding-top: 20px;padding-bottom: 20px;
}
.llbx1{ height:250px; }
.llbx1 img{ margin:0px 20px; float:left; }
.llbx1 .wenzi{ width:800px; float:left; }
.llbx1 .wenzi p{ font-size:16px; line-height:30px; text-indent:2em;}
.llbx2{height:250px; }
.llbx2 p{ font-size:16px; line-height:30px;}
.llbx2 img{ float:left; margin:0px 20px;}
.llbx2 .wenzi{ width:650px;  float:left; margin-left:20px;}
.llbx2 .wenzi p{ font-size:16px; line-height:30px; text-indent:2em;}
.neir{ width:1140px; height:auto;
overflow:hidden;
margin-bottom:30px;}
.neir img{ float:right; margin-left:20px;}
.neir p{ text-indent:2em; line-height:30px; margin-bottom:20px; font-size:16px;}

六、遇到问题及如何解决🔍

实训中遇到得困难不少,比如如何收集适合网页的图片素材、如何让网页的配色看着更自然更舒适、如何用PS裁剪大小合适的图片、以及制作表单时候如何设计等等,最后,通过上网查询和请教别人得到了很好的解决。


七、实训总结😊

通过这次网页设计制作实训,能够灵活的运用到所学的知识和技巧制作简单的网页,掌握了个人网站建设的技巧和基本网站建设的过程。对于用Dreamweaver、vscode、hbuider等制作网页更为得心应手。实训过程中我尽量充分利用老师教过的知识,对所学知识进行了巩固。为了制作出更好的效果我也翻阅参考了其他资料,学习到了更多的网页处理技巧。制作网页的过程中遇到很多的问题,通过查找资料或询问同学都有得到解决。这次综合实训我的收获很大,学有所用,在实践的过程中学习巩固对知识能有更深的记忆。网页制作是一门很实用的学科,值得我以后进行更深入的学习。这次实训中我也体会到了自己掌握的技巧太少了,以至于很多想法都没能实现,在以后的学习过程中我要对网页制作有更深的了解,做出更为成熟的网页。


八、更多干货🎁

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

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

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

这篇关于HTML静态网页作业——澳门英文旅游网站设计与实现HTML+CSS+JavaScript的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/317508

相关文章

HTML5 getUserMedia API网页录音实现指南示例小结

《HTML5getUserMediaAPI网页录音实现指南示例小结》本教程将指导你如何利用这一API,结合WebAudioAPI,实现网页录音功能,从获取音频流到处理和保存录音,整个过程将逐步... 目录1. html5 getUserMedia API简介1.1 API概念与历史1.2 功能与优势1.3

Java实现删除文件中的指定内容

《Java实现删除文件中的指定内容》在日常开发中,经常需要对文本文件进行批量处理,其中,删除文件中指定内容是最常见的需求之一,下面我们就来看看如何使用java实现删除文件中的指定内容吧... 目录1. 项目背景详细介绍2. 项目需求详细介绍2.1 功能需求2.2 非功能需求3. 相关技术详细介绍3.1 Ja

springboot项目中整合高德地图的实践

《springboot项目中整合高德地图的实践》:本文主要介绍springboot项目中整合高德地图的实践,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录一:高德开放平台的使用二:创建数据库(我是用的是mysql)三:Springboot所需的依赖(根据你的需求再

spring中的ImportSelector接口示例详解

《spring中的ImportSelector接口示例详解》Spring的ImportSelector接口用于动态选择配置类,实现条件化和模块化配置,关键方法selectImports根据注解信息返回... 目录一、核心作用二、关键方法三、扩展功能四、使用示例五、工作原理六、应用场景七、自定义实现Impor

SpringBoot3应用中集成和使用Spring Retry的实践记录

《SpringBoot3应用中集成和使用SpringRetry的实践记录》SpringRetry为SpringBoot3提供重试机制,支持注解和编程式两种方式,可配置重试策略与监听器,适用于临时性故... 目录1. 简介2. 环境准备3. 使用方式3.1 注解方式 基础使用自定义重试策略失败恢复机制注意事项

使用Python和OpenCV库实现实时颜色识别系统

《使用Python和OpenCV库实现实时颜色识别系统》:本文主要介绍使用Python和OpenCV库实现的实时颜色识别系统,这个系统能够通过摄像头捕捉视频流,并在视频中指定区域内识别主要颜色(红... 目录一、引言二、系统概述三、代码解析1. 导入库2. 颜色识别函数3. 主程序循环四、HSV色彩空间详解

PostgreSQL中MVCC 机制的实现

《PostgreSQL中MVCC机制的实现》本文主要介绍了PostgreSQL中MVCC机制的实现,通过多版本数据存储、快照隔离和事务ID管理实现高并发读写,具有一定的参考价值,感兴趣的可以了解一下... 目录一 MVCC 基本原理python1.1 MVCC 核心概念1.2 与传统锁机制对比二 Postg

SpringBoot整合Flowable实现工作流的详细流程

《SpringBoot整合Flowable实现工作流的详细流程》Flowable是一个使用Java编写的轻量级业务流程引擎,Flowable流程引擎可用于部署BPMN2.0流程定义,创建这些流程定义的... 目录1、流程引擎介绍2、创建项目3、画流程图4、开发接口4.1 Java 类梳理4.2 查看流程图4

一文详解如何在idea中快速搭建一个Spring Boot项目

《一文详解如何在idea中快速搭建一个SpringBoot项目》IntelliJIDEA作为Java开发者的‌首选IDE‌,深度集成SpringBoot支持,可一键生成项目骨架、智能配置依赖,这篇文... 目录前言1、创建项目名称2、勾选需要的依赖3、在setting中检查maven4、编写数据源5、开启热

C++中零拷贝的多种实现方式

《C++中零拷贝的多种实现方式》本文主要介绍了C++中零拷贝的实现示例,旨在在减少数据在内存中的不必要复制,从而提高程序性能、降低内存使用并减少CPU消耗,零拷贝技术通过多种方式实现,下面就来了解一下... 目录一、C++中零拷贝技术的核心概念二、std::string_view 简介三、std::stri