《HTML5与CCS3网页设计基础》案例1---Pacific Trails Resort
2016-07-14 13:53
567 查看
本例子来源于《HTML5与CCS3网页设计基础》(第2版)
第二章案例学习的第一个例子。
这部书相对比较基础,适合前端入门,由于翻了书上的学习案例资料链接不是无效就是网盘过期什么的,所以决定在自己博客中记录下整个学习案例的工程。PS:博客开了好久都没去更新!不行不行。。
将从第二章开始,不断对案例更新,案例有两个,分别是Pacific Trails Resort跟JavaJam
Coffee House。
《Pacific Trails Resort》
第二章案子学习完成效果图:
1.index.html
代码部分:
2.Yurts.html
代码部分:
第二章案例学习的第一个例子。
这部书相对比较基础,适合前端入门,由于翻了书上的学习案例资料链接不是无效就是网盘过期什么的,所以决定在自己博客中记录下整个学习案例的工程。PS:博客开了好久都没去更新!不行不行。。
将从第二章开始,不断对案例更新,案例有两个,分别是Pacific Trails Resort跟JavaJam
Coffee House。
《Pacific Trails Resort》
第二章案子学习完成效果图:
1.index.html
代码部分:
</pre><pre name="code" class="html"><!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Pacific Trails Resort</title> </head> <body> <header> <h1><strong>Pacific Trails Resort</strong></h1> </header> <nav> <a href="index.html">Home</a> <a href="Yurts.html">Yurts</a> <a href="Activities.html">Activities</a> <a href="Reservation.html">Reservation</a> </nav> <div> <h2>Enjoy Nature in Luxury</h2> <p> Pacific Trails Rsort offers a special lodging experience on the California North Coast.Relax in serenity with panoramic views of the Pacific Ocean. </p> <ul> <li>Private yurts with decks overlooking the ocean</li> <li>Activities lodge with fireplace and gift shop</li> <li>Nighy fine dining at the Overlook Cafe</li> <li>Heated outdoor pool and whirlpool</li> <li>Guided hiking tours of the redwoods</li> </ul> <div> Pacific Trails Resort<br> 12010 Pacific Trails Road<br> Zephyr,CA 95555 <br> <br> 888-555-5555 <br> <br> </div> </div> <footer> <small><i>Copyright©2016 Pracfic Trails Rsort</i></small><br> <a href="mailto:hjh1170459853@qq.com">hjh1170459853@qq.com </a> </footer> </body> </html>
2.Yurts.html
代码部分:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Pacific Trails Resor :: Yurts</title> </head> <body> <header> <h1><strong>Pacific Trails Resort</strong></h1> </header> <nav> <a href="index.html">Home</a> <a href="Yurts.html">Yurts</a> <a href="Activities.html">Activities</a> <a href="Reservation.html">Reservation</a> </nav> <div> <h2>The Yurts at Pacific Trails</h2> <dl> <dt><strong>What is a yurt?</strong></dt> <dd> our luxury yurts are permanent structures four feet off the ground.Each yurt has canvas walls,a wooden floor, and a roof dome that can be opened. </dd> <dt><strong>How are the yurts furnished?</strong></dt> <dd> Each yurt is furnished with a queen-size bed with down quilt and gas-fired stove. The luxury camping experience also includes electricity and a sink with hot and cold running water. Shower and restroom facilities are located in the lodge. </dd> <dt><strong>What should I bring ?</strong></dt> <dd> Bring a sense of adventure and some time to relax! Most guests also pack comfortable walking shoes and plan to dress for changing weather with layers of clothing. </dd> </dl> </div> <footer> <small><i>Copyright©2016 Pracfic Trails Rsort</i></small><br> <a href="mailto:hjh1170459853@qq.com">hjh1170459853@qq.com </a> </footer> </body> </html>
相关文章推荐
- Hadoop 2.3.0-cdh5.0.2升级Hadoop 2.5.0-cdh5.3.1
- H5制作哪家强?四大H5页面制作工具大比拼
- html5编程工具
- CDH5: 使用parcels配置lzo
- oc与h5交互
- 才一年,H5的发展就成这样了
- cdh5一个或多个主机没有报告其操作系统分配。这可能是由于运行已过期的Cloudera Manage
- H5截取当前网页
- H5中viewport参数
- HTML5<video>
- html5新增标签
- html5---拖放demo----拖放图片
- html5-拖放
- html5画布相关
- HTML5基础学习笔记(七)
- 手机H5自适应布局
- HTML5 weui笔记
- HTML5 Form Data 对象的使用
- CDH5.0.2升级至CDH5.2.0
- CDH5安装