时间:2023-09-17 02:18:01 | 来源:网站运营
时间:2023-09-17 02:18:01 来源:网站运营
web前端期末大作业网课设计与实现 _简单DIV布局旅游网页——简洁的旅游酒店公寓(15页)HTML+CSS+JavaScript: 学生HTML静态网页基础水平制作 ,页面排版干净简洁。使用HTML+CSS页面布局设计,web大学生网页设计作业源码,这是一个不错的旅游网页制作,画面精明,排版整洁,内容丰富,主题鲜明,非常适合初学者学习使用, 这个实例比较全面,有助于同学的学习,本文将介绍如何通过从头开始设计个人网站并将其转换为代码的过程来实践设计。
Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++
等任意html编辑软件进行运行及修改编辑等操作)。 其中: (1)html文件包含:其中index.html是首页、其他html为二级页面; (2)css文件包含:css全部页面样式,文字滚动, 图片放大等; (3)js文件包含:js实现动态轮播特效, 点击事件等等(个别网页中运用到js代码)。<!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/Home.css" rel="stylesheet" type="text/css" /><link href="css/common/head.css" rel="stylesheet" type="text/css" /><link href="css/common/foot.css" rel="stylesheet" type="text/css" /><script type='text/javascript' src="Js/head.js"></script><script type="text/javascript" src="Js/ThemeFocus/jquery-1.9.1.min.js"></script><script type="text/javascript" src="Js/ThemeFocus/jquery.nav.js"></script><script type="text/javascript" src="Js/DestinationSearch/citySelector.js"></script><script type="text/javascript" src="Js/My97DatePicker/WdatePicker.js"></script> </head><body> <div id="container"> <!--top 整个头部--> <div id="nav"> <!--logo--> <div class="logo"> <img src="Common/images/logo.png" width="120" height="80" border="0"/> </div> <!--导航--> <ul id="navMenu"> <li><a href="#" rel='dropmenu1'>国内目的地</a></li> <li><a href="#" rel='dropmenu2'>主题推荐</a></li> <li><a href="#" rel='dropmenu3'>出游类型</a></li> <li><a href="Theme/TravelGuide.html" rel='dropmenu4'>旅游指南</a></li> </ul> <div class="attention"> <a href="#" class="atnimg"><img src="Common/images/attention.jpg" width="70" height="25" border="0"/></a> </div> <!--手动搜索--> <div class="search" valign="middle"> <!--下拉框--> <div class="selectBox"> <input type="text" class="cityinput" id="citySelect" value="城市名" style="border:0;background: none transparent scroll repeat 0% 0%;width:95px;height:20px;"> </div> <input name="text" type="text" class="searcText" style="border:0;background: none transparent scroll repeat 0% 0%;width:130px;height:20px;margin:10px 0 0 2px;float:left;"/> <div class="searcher"> <a href="#"><img src="Common/images/searcher.jpg" width="20" height="20" border="0"/></a> </div> </div> </div> <!--导航下拉菜单--> <div id="dropmenu1" class="dropMenu"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td width="80" class="tdborder"> <span class="province">直辖市</span> </td> <td class="tdborder"> <ul> <li><a href="#">杭州</a></li> <li><a href="#">杭州</a></li> <li><a href="#">杭州</a></li> <li><a href="#">杭州</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">港澳台</span> </td> <td class="tdborder"> <ul> <li><a href="#">香港</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">浙江</span> </td> <td class="tdborder"> <ul> <li><a href="House/CityHouse.html" target="_blank">三亚</a></li> <li><a href="#">博鳌(琼海)</a></li> <li><a href="#">文章</a></li> <li><a href="#">五指山</a></li> <li><a href="#">陵水(三亚)</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">西南</span> </td> <td class="tdborder"> <ul> <li><a href="#">桂林</a></li> <li><a href="#">大理</a></li> <li><a href="#">丽江</a></li> <li><a href="#">杭州</a></li> <li><a href="#">腾冲</a></li> <li><a href="#">西双版纳</a></li> <li><a href="#">香格里拉</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">浙江</span> </td> <td class="tdborder"> <ul> <li><a href="#">杭州</a></li> <li><a href="#">威海</a></li> <li><a href="#">杭州</a></li> <li><a href="#">蓬莱</a></li> <li><a href="#">杭州</a></li> <li><a href="#">栖霞(杭州)</a></li> <li><a href="#">枣庄</a></li> <li><a href="#">泰安</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">浙江</span> </td> <td class="tdborder"> <ul> <li><a href="#">杭州</a></li> <li><a href="#">杭州</a></li> <li><a href="#">杭州</a></li> <li><a href="#">杭州</a></li> <li><a href="#">杭州</a></li> <li><a href="#">镇江</a></li> <li><a href="#">盱眙</a></li> <li><a href="#">周庄</a></li> <li><a href="#">杭州</a></li> <li><a href="#">昆山</a></li> <li><a href="#">连云港</a></li> <li><a href="#">盐城</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">浙江</span> </td> <td class="tdborder"> <ul> <li><a href="#">杭州</a></li> <li><a href="#">千岛湖</a></li> <li><a href="#">杭州</a></li> <li><a href="#">舟山</a></li> <li><a href="#">西塘</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">浙江</span> </td> <td class="tdborder"> <ul> <li><a href="#">杭州</a></li> <li><a href="#">九寨沟</a></li> <li><a href="#">峨眉山</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">浙江</span> </td> <td class="tdborder"> <ul> <li><a href="#">杭州</a></li> <li><a href="#">杭州</a></li> <li><a href="#">杭州</a></li> <li><a href="#">杭州</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">山陕</span> </td> <td class="tdborder"> <ul> <li><a href="#">杭州</a></li> <li><a href="#">延安</a></li> <li><a href="#">平遥</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">东北</span> </td> <td class="tdborder"> <ul> <li><a href="#">杭州</a></li> <li><a href="#">营口</a></li> <li><a href="#">杭州</a></li> <li><a href="#">杭州</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">浙江</span> </td> <td class="tdborder"> <ul> <li><a href="#">杭州</a></li> <li><a href="#">黄山</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">浙江</span> </td> <td class="tdborder"> <ul> <li><a href="#">杭州</a></li> <li><a href="#">杭州</a></li> <li><a href="#">武夷山</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">浙江</span> </td> <td class="tdborder"> <ul> <li><a href="#">杭州</a></li> <li><a href="#">庐山</a></li> <li><a href="#">婺源</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">浙江浙江</span> </td> <td class="tdborder"> <ul> <li><a href="#">杭州</a></li> <li><a href="#">杭州</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">浙江</span> </td> <td class="tdborder"> <ul> <li><a href="#">杭州汉</a></li> <li><a href="#">洛阳</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">浙江</span> </td> <td class="tdborder"> <ul> <li><a href="#">承德</a></li> <li><a href="#">秦皇岛</a></li> <li><a href="#">张家口</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">西北</span> </td> <td class="tdborder"> <ul> <li><a href="#">杭州</a></li> </ul> </td> </tr> <tr> <td class="tdborder"> <span class="province">浙江</span> </td> <td class="tdborder"> <ul> <li><a href="#">呼伦贝尔</a></li> <li><a href="#">满洲里</a></li> </ul> </td> </tr> </table> </div> <ul id="dropmenu2" class="dropMenu"> <li><a href="#">相约海岛</a></li> <li><a href="Theme/SpecialTopic.html" target="_blank">海滨漫步</a></li> <li><a href="#">休闲时光</a></li> <li><a href="#">极致体验</a></li> <li><a href="#">赏花踏青</a></li> </ul> <ul id="dropmenu3" class="dropMenu"> <li><a href="#">浪漫之旅</a></li> <li><a href="#">家庭出游</a></li> <li><a href="#">朋友聚会</a></li> </ul> <script type="text/javascript">cssdropdown.startchrome("navMenu")</script> <!--top 头部结束--> <!--banner焦点图内部--> <div id="focus"> <div id="inner"> <div class="hot-event"> <!--登录注册行--> <div class="link"> <a href="#">手机客户端</a> <a href="#">在线客服</a> <!-- <a href="UserInfo/OrderList.html">我的天堂鸟</a>--> <a href="Account/Register.html" target="_blank">注册</a> <a href="Account/Login.html" target="_blank">登录</a> <!--<a href="../index.html">退出</a> <div class="username"> <a href="UserInfo/OrderList.html">187****9013</a> <span>您好,</span> </div>--> </div> <!--浮动在焦点图上的搜索--> <div class="searching"> <table> <tr height="40"> <td align="right" width="100"> <span class="q1">目的地</span> </td> <td width="20"> </td> <td width="258" align="left"> <!--下拉框--> <div class="selectBox2"> <div class="textbg"><!--加一个背景图片--> <input type="text" class="cityinput" id="citySelect1" value="城市名" style="border:0;background: none transparent scroll repeat 0% 0%;width:180px;height:20px;margin-top:5px;"> </div> </div> </td> </tr> <tr height="40"> <td align="right"> <span class="q1">入住日期</span> </td> <td width="20"> </td> <td valign="middle"> <div class="textbg"> <input name="text2" type="text" class="Wdate" style="border:0;background: none transparent scroll repeat 0% 0%;width:180px;height:20px;margin-top:5px;" onclick="WdatePicker()" /></div> </td> </tr> <tr height="40"> <td align="right"> <span class="q1">退房日期</span> </td> <td width="20"> </td> <td> <div class="textbg"> <input name="text2" type="text" class="Wdate" style="border:0;background: none transparent scroll repeat 0% 0%;width:180px;height:20px;margin-top:5px;" onclick="WdatePicker()" /></div> </td> </tr> <tr height="40"> <td align="right"> <span class="q1">卧室数</span> </td> <td width="20"> </td> <td class="nubroom"> <a href="#" class="nubroom1">一室</a> <a href="#" class="nubroom2">二室</a> <a href="#" class="nubroom3">三室</a> <a href="#" class="nubroom4">不限</a> </td> </tr> <tr align="center" height="50"> <td colspan="3"> <input type="submit" value="搜索" id="btn" /> </td> </tr> </table> </div> <div class="switch-nav"><a href="#" onclick="return false;" class="prev"><i class="ico i-prev"></i><span class="hide-clip">上一个</span></a><a href="#" onclick="return false;" class="next"><i class="ico i-next"></i><span class="hide-clip">下一个</span></a></div> <div class="event-item" style="display: block;"><span class="event-item" style="display: block;"><a href="#" class="banner"><img src="Images/focus/banner01.jpg" class="photo" style="width: 960px; height: 350px;" /></a></span></div> <div class="event-item" style="display: none;"> <a href="#" class="banner"> <img src="Images/focus/banner02.jpg" class="photo" style="width: 960px; height: 350px;"/> </a> </div> <div class="event-item" style="display: none;"> <a href="#" class="banner"> <img src="Images/focus/banner03.jpg" class="photo" style="width: 960px; height: 350px;" /> </a> </div> <div class="event-item" style="display: none;"> <a href="#" class="banner"> <img src="Images/focus/banner04.jpg" class="photo" style="width: 960px; height: 350px;" /> </a> </div> <div class="event-item" style="display: none;"> <a href="#" class="banner"> <img src="Images/focus/banner05.jpg" class="photo" style="width: 960px; height: 350px;" /> </a> </div> <div class="switch-tab"> <a href="#" onclick="return false;" class="current">1</a> <a href="#" onclick="return false;">2</a> <a href="#" onclick="return false;">3</a> <a href="#" onclick="return false;">4</a> <a href="#" onclick="return false;">5</a> </div> </div> </div> <script type="text/javascript"> $('#inner').nav({ t: 3000, a: 1000 }); </script> </div> <!--banner焦点图内部结束--> <!--热门城市--> <div id="hotcity"> <!--标题栏--> <div class="title"> <span class="titlename1">热门城市</span> </div> <!--热门城市左侧--> <div class="hotcityleft"> <!--map地图--> <div class="map"> <img src="Images/map.jpg" width="470" height="380" border="0"/> </div> <!--top城市--> <div class="Topcity"> <span class="topct">Top城市:</span> 1.<a href="#">杭州 </a> 2.<a href="#">杭州 </a> 4.<a href="#">杭州 </a> 5.<a href="#">杭州 </a> 6.<a href="#">杭州 </a> 7.<a href="#">杭州 </a> 8.<a href="#">杭州 </a> 9.<a href="#">杭州 </a> 10.<a href="#">杭州 </a> </div> </div> <!--map地图右侧--> <div class="citydetial"> <!--城市图片--> <div class="citydetialimg"> <a href="#"><img src="Images/citydetial/citydetial01.jpg" width="150" height="100" border="0"/></a> </div> <!--城市简介--> <div class="textdetail"> <p><a href="#" class="cityname">杭州</a>,是在中国江南传统文化(吴文化)的基础上,与开埠后传入的对杭州影响深远的欧美文化等融合而逐步形成,既古老又现代,既传统又时尚,区别于中国文化,具有开放而又自成一体的独特风格。<a href="#" class="readdetail">查看更多>></a></p> </div> <!--城市著名景点--> <div class="attraction"> <a href="#">徐家汇</a> <a href="#">陆家嘴</a> <a href="#">杭州公园</a> <a href="#">人民广场</a> </div> <div class="clear"></div> <!--房屋关注率排行--> <div class="attentionrate"> <span class="textatnrate">房屋关注率排行:</span> <table> <tr height="30"> <td width="20"> 1. </td> <td> <a href="#">都是家园圣天地 标准大...</a> </td> <td width="120"> <span class="city-nubroom">1室1厅</span> </td> <td width="30"> <a href="#">评论</a> </td> </tr> <tr height="30"> <td width="20"> 2. </td> <td width="160"> <a href="#">徽苑酒店公寓外滩店家...</a> </td> <td width="120"> <span class="city-nubroom">1室1厅1卫</span> </td> <td> <a href="#">评论</a> </td> </tr> <tr height="30"> <td width="20"> 3. </td> <td> <a href="#">品尊名致豪华复式房</a> </td> <td width="120"> <span class="city-nubroom">3室1厅1卫1厨</span> </td> <td> <a href="#">评论</a> </td> </tr> <tr height="30"> <td width="20"> 4. </td> <td> <a href="#">新港湾酒店公寓普通大...</a> </td> <td width="120"> <span class="city-nubroom">2室1厅1卫</span> </td> <td> <a href="#">评论</a> </td> </tr> <tr height="30"> <td width="20"> 5. </td> <td> <a href="#">新港湾酒店公寓普通标...</a> </td> <td width="120"> <span class="city-nubroom">1室1厅1卫</span> </td> <td> <a href="#">评论</a> </td> </tr> </table> </div> </div> </div> <!--热门城市结束--> <!--特色推荐--> <div id="recommend"> <!--标题栏--> <div class="title"> <span class="titlename2">特色推荐</span> </div> <!--推荐地点--> <div class="rmdcity"> <a href="#" class="rightpitch"><img src="Images/rmdcity/rmdcity01.jpg" width="234" height="160" border="0"/></a> <a href="#" class="rightpitch"><img src="Images/rmdcity/rmdcity03.jpg" width="234" height="160" border="0"/></a> <a href="#" class="rightpitch"><img src="Images/rmdcity/rmdcity02.jpg" width="234" height="160" border="0"/></a> <a href="#"><img src="Images/rmdcity/rmdcity04.jpg" width="234" height="160" border="0"/></a> </div> </div> <!--特色推荐结束--> <!--广告语--> <div id="slogan"> <div id="slogan1"> <div class="sloganimg"> <a href="#"><img src="Images/sloganimg1.jpg" width="40" height="40" border="0"/></a> </div> <div class="textslogan"> <a href="#">100%真实房源</a> <p>专业验证员实地验真,确保每一套房屋真实有效。</p> </div> </div> <div id="slogan1"> <div class="sloganimg"> <a href="#"><img src="Images/sloganimg2.jpg" width="40" height="40" border="0"/></a> </div> <div class="textslogan"> <a href="#">特色房屋,性价比高</a> <p>配备家电,可洗衣做饭的一居、多居房全面满足各种需求。</p> </div> </div> <div id="slogan1"> <div class="sloganimg"> <a href="#"><img src="Images/sloganimg3.jpg" width="40" height="40" border="0" /></a> </div> <div class="textslogan"> <a href="#">到店无房,赔付首晚</a> <p>预订成功到店无房赔付首晚房费,1000万保障基金先行赔付。</p> </div> </div> <div id="slogan2"> <div class="sloganimg"> <a href="#"><img src="Images/sloganimg4.jpg" width="40" height="40" border="0"/></a> </div> <div class="textslogan"> <a href="#">7×24小时服务专线</a> <p>400客服专线随时解答处理任何问题。</p> </div> </div> </div> <!--广告语结束--> <!--foot--> <div id="foot"> <a href="#">关于我们 |</a> <a href="#">业务介绍 |</a> <a href="#">加入天堂鸟 |</a> <a href="#">帮助中心 |</a> <a href="#">网站地图</a> <p>@ Copyright 2013 tiantangniao.com 天堂鸟 版权所有 不得转载</p> <p>京ICP备11043397号</p> </div> <!--foot结束--></div> <script type="text/javascript"> var test=new Vcity.CitySelector({input:'citySelect'}); var test2=new Vcity.CitySelector({input:'citySelect1'}); </script></body></html>
*{margin:0;padding:0;list-style-type:none;}body{ font-family:Arial, Helvetica, sans-serif; font-size:12px; background-color:#fff;}#container{ width:960px; margin:0 auto;}/*导航菜单*/#nav{ width:960px; height:40px; line-height:40px; background:url(../../Common/images/nav-bg.jpg); display:block; overflow:hidden;}.logo{ float:left; margin:0 80px 0 30px; height:40px;}#navMenu ul{ float:left; height:40px;}#navMenu li{ float:left; padding:5px 0 0 0;}#navMenu li a{ color:#fff!important; text-decoration:none; width:91px; height:40px; line-height:35px; text-align:center; background-image:url(../../Common/images/navbg.jpg); display:block;}#navMenu li a.last{ width:92px;}#navMenu li a:hover{ background-position:0 -40px;}/*加入关注*/.attention{ float:left; width:70px; height:30px; margin:10px 0 0 0;}/*搜索框*/.search{ float:right; height:40px; width:280px; background:url(../../Common/images/searvhbg.jpg) no-repeat;}.selectBox{ float:left; margin:10px 3px 0 10px;}.searcher{ float:right; width:20px; height:20px; margin:10px 10px 10px 0;}/*-------- 下拉菜单 --------------*/.dropMenu{ position:absolute; top:0; z-index:100; visibility:hidden; margin-top:-2px; border:1px solid #CCCCCC; border-top:0; background-color:#FFFFFF; padding:10px; width:400px;}#dropmenu1{ padding:0 10px 10px 10px; width:500px;}.province{ font-weight:bold; color:#999999; padding:0 0 0 5px;}.dropMenu li{ float:left; width:80px; height:20px;}.dropMenu li a{ display:block; padding:5px 0 0 5px; text-decoration:none; color:#0000FF; }.dropMenu a:hover{ text-decoration:underline; color:#FF6633;}.tdborder{ border-bottom:1px dashed #CCCCCC; border-left:none; border-right:none;}/*按首字母选择城市*/.citySelector{background: #fff; }.cityslide { width:250px; list-style:none; margin:0; padding:0; }.cityslide li { list-style:none; overflow:hidden; height:16px; padding:4px 5px;}.cityslide li.on{ background:#9CD9FF; color:#fff;}.cityslide li b { font-weight:normal;}.cityslide li.empty{ background: #fff2e8; color: #666;}.cityslide li.empty em{ color: red; font-style:normal;}.cityname { float:left;}.cityspell { float:right;}.cityBox{ width: 320px; border: 1px solid #85BEE5; overflow: hidden; box-shadow: 2px 2px 3px rgba(0,0,0,0.3);}.cityBox ul{ margin: 0; padding: 0; overflow: hidden;}.cityBox ul li{ float: left; list-style: none; padding: 2px 4px; border: 1px solid #85BEE5; cursor:pointer; margin-left: 4px; display: inline; background: #E1EFFE;}.cityBox ul li.on{ background: #fff; border-bottom-color:#fff; position: relative;}.hide{ display: none;}p.tip{ color:#666; line-height: 20px; padding: 5px; margin: 0; text-indent: 3px;}.hotCity{ border-top: 1px solid #85BEE5; margin-top: -1px; clear:left; overflow: hidden; padding-bottom: 5px; padding-top: 5px; _margin-bottom:8px;}.cityTab{ overflow: hidden;}.cityTab dl{ margin:0; padding: 0; overflow: hidden; }.cityTab dl dt{ float: left; padding-left: 3px; color: #F30; text-indent: 5px; font-family: "Lucida console","consolas","courier new"; line-height: 22px; font-size: 14px; width: 20px;}.cityTab dl dd{ margin-left:2px; float:left; width: 290px;}.cityTab dl dd a{ padding-left:5px; width:66px; line-height: 22px; display: inline-block; color: #000; text-decoration: none;}.cityTab dl dd a:hover{ text-decoration:underline; color: red;}
请 “ 点赞” “✍️评论” “ 收藏”
一键三连哦!❤️【 关注我| 获取更多源码 | 优质文章】
带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!关键词:旅游,布局,简洁,简单,作业,设计,实现