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

相关文章

分布式锁在Spring Boot应用中的实现过程

《分布式锁在SpringBoot应用中的实现过程》文章介绍在SpringBoot中通过自定义Lock注解、LockAspect切面和RedisLockUtils工具类实现分布式锁,确保多实例并发操作... 目录Lock注解LockASPect切面RedisLockUtils工具类总结在现代微服务架构中,分布

Java使用Thumbnailator库实现图片处理与压缩功能

《Java使用Thumbnailator库实现图片处理与压缩功能》Thumbnailator是高性能Java图像处理库,支持缩放、旋转、水印添加、裁剪及格式转换,提供易用API和性能优化,适合Web应... 目录1. 图片处理库Thumbnailator介绍2. 基本和指定大小图片缩放功能2.1 图片缩放的

Spring Boot集成/输出/日志级别控制/持久化开发实践

《SpringBoot集成/输出/日志级别控制/持久化开发实践》SpringBoot默认集成Logback,支持灵活日志级别配置(INFO/DEBUG等),输出包含时间戳、级别、类名等信息,并可通过... 目录一、日志概述1.1、Spring Boot日志简介1.2、日志框架与默认配置1.3、日志的核心作用

Python使用Tenacity一行代码实现自动重试详解

《Python使用Tenacity一行代码实现自动重试详解》tenacity是一个专为Python设计的通用重试库,它的核心理念就是用简单、清晰的方式,为任何可能失败的操作添加重试能力,下面我们就来看... 目录一切始于一个简单的 API 调用Tenacity 入门:一行代码实现优雅重试精细控制:让重试按我

破茧 JDBC:MyBatis 在 Spring Boot 中的轻量实践指南

《破茧JDBC:MyBatis在SpringBoot中的轻量实践指南》MyBatis是持久层框架,简化JDBC开发,通过接口+XML/注解实现数据访问,动态代理生成实现类,支持增删改查及参数... 目录一、什么是 MyBATis二、 MyBatis 入门2.1、创建项目2.2、配置数据库连接字符串2.3、入

Springboot项目启动失败提示找不到dao类的解决

《Springboot项目启动失败提示找不到dao类的解决》SpringBoot启动失败,因ProductServiceImpl未正确注入ProductDao,原因:Dao未注册为Bean,解决:在启... 目录错误描述原因解决方法总结***************************APPLICA编

深度解析Spring Security 中的 SecurityFilterChain核心功能

《深度解析SpringSecurity中的SecurityFilterChain核心功能》SecurityFilterChain通过组件化配置、类型安全路径匹配、多链协同三大特性,重构了Spri... 目录Spring Security 中的SecurityFilterChain深度解析一、Security

Redis客户端连接机制的实现方案

《Redis客户端连接机制的实现方案》本文主要介绍了Redis客户端连接机制的实现方案,包括事件驱动模型、非阻塞I/O处理、连接池应用及配置优化,具有一定的参考价值,感兴趣的可以了解一下... 目录1. Redis连接模型概述2. 连接建立过程详解2.1 连php接初始化流程2.2 关键配置参数3. 最大连

SpringBoot多环境配置数据读取方式

《SpringBoot多环境配置数据读取方式》SpringBoot通过环境隔离机制,支持properties/yaml/yml多格式配置,结合@Value、Environment和@Configura... 目录一、多环境配置的核心思路二、3种配置文件格式详解2.1 properties格式(传统格式)1.

Apache Ignite 与 Spring Boot 集成详细指南

《ApacheIgnite与SpringBoot集成详细指南》ApacheIgnite官方指南详解如何通过SpringBootStarter扩展实现自动配置,支持厚/轻客户端模式,简化Ign... 目录 一、背景:为什么需要这个集成? 二、两种集成方式(对应两种客户端模型) 三、方式一:自动配置 Thick