Python实战1_1:做一个自己的网页
2016-06-22 14:01
736 查看
参加了Python实战课程,此为第一节课的练习总结
js是用于控制html页面代码,实现复杂的页面效果或功能
css用于功能html如何展示,让页面展示的美观漂亮
html用于描述网页结构。
学会了如何使用css结构去控制页面样式(css是老师写好的)
成果
HTML代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>The Blah</title> <link rel="stylesheet" type="text/css" href="homework.css"> </head> <body> <div class="header"> <img src="images/blah.png"> <ul class="nav"> <li><a href="#">Home</a></li> <li><a href="#">Site</a></li> <li><a href="#">Other </a></li> </ul> </div> <div class="main-content"> <h2>The Beach</h2> <hr /> <ul class="photos"> <li><img src="images/0001.jpg" width="150" height="150"></li> <li><img src="images/0003.jpg" width="150" height="150"></li> <li><img src="images/0004.jpg" width="150" height="150"></li> </ul> <p>stretching from Solta to Mljet, and this unique cycling trip captures the highlights with an ideal balance of activity, culture and relaxation. Experience the beautiful island of Korcula with its picturesque old town, the untouched beauty of Vis, and trendy Hvar with its Venetian architecture. In the company of a cycling guide, this stimulating journey explores towns and landscapes, many of which are on UNESCO's world heritage list. Aboard the comfortably appointed wooden motor yacht, there is ample time between cycles to swim in the azure waters and soak up the ambience of seaside towns. </p> </div> <div class="footer"> <p>©MUGGLECODING</p> </div> </body> </html>
总结
了解了网页结构组成。js是用于控制html页面代码,实现复杂的页面效果或功能
css用于功能html如何展示,让页面展示的美观漂亮
html用于描述网页结构。
学会了如何使用css结构去控制页面样式(css是老师写好的)
相关文章推荐
- Python动态类型的学习---引用的理解
- Python3写爬虫(四)多线程实现数据爬取
- 垃圾邮件过滤器 python简单实现
- 下载并遍历 names.txt 文件,输出长度最长的回文人名。
- install and upgrade scrapy
- Scrapy的架构介绍
- Centos6 编译安装Python
- 使用Python生成Excel格式的图片
- 让Python文件也可以当bat文件运行
- [Python]推算数独
- Python中zip()函数用法举例
- Python中map()函数浅析
- Python将excel导入到mysql中
- 在Windows 8.1的IE 11中屏蔽双击放大功能
- Python在CAM软件Genesis2000中的应用
- 使用Shiboken为C++和Qt库创建Python绑定
- FREEBASIC 编译可被python调用的dll函数示例