
|
网页的本质就是超级文本标记语言,通过结合使用其他的Web技术(如:脚本语言、公共网关接口、组件等),可以创造出功能强大的网页。因而,超级文本标记语言是万维网(Web)编程的基础,也就是说万维网是建立在超文本基础之上的。超级文本标记语言之所以称为超文本标记语言,是因为文本中包含了所谓“超级链接”点。 本篇文章适用与刚学html和css,练习一个比较简单的百度首页,因为百度的主页比较简单,大概分为三个部分:右上角的标签、Logo和表单、下面的版权信息。对于刚开始想要检测学习成果是一个不错的好方法,熟练后再去尝试写一些复杂的html网页。下面是html制作百度首页的源码 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>百度一下,你就知道</title> </head> <body> <p align="right"> <font color="blue" size="2"> <a href="http://www.baidu.com/gaoji/preferences.html">搜索设置</a> |<a href="http://passport.baidu.com">登陆</a> |<a href="https://passport.baidu.com">注册</a> </font> </p> <p align="center"> <img alt="百度" src="../images/baidu.gif" height="60px;" width="120px;"/> </p> <p align="center"> <font color="blue" size="2"> <a href="http://news.baidu.com">新闻</a> <font color="black"><b>网页</b></font> <a href="http://tieba.baidu.com">贴吧</a> <a href="http://zhidao.baidu.com">知道</a> <a href="http://mp3.baidu.com">MP3</a> <a href="http://image.baidu.com">图片</a> <a href="http://video.baidu.com">视频</a> <a href="http://map.baidu.com">地图</a> </font> </p> <p align="center"> <form action=""> <input type="text" name="wd" size="50" height="20px;" width="50px;"> <input type="submit" value="百度一下"> </form> </p> <p align="center"> <font color="blue" size="2"> <a href="http://hi.baidu.com">空间</a> <a href="http://baike.baidu.com">百科</a> <a href="http://www.hao123.com">hao123</a> <a href="/more/">更多>></a> </font> </p> <br/><br/><br/><br/><br/><br/> <p align="center"> <font color="blue" size="2"> <p><a href="http://utility.baidu.com">把百度设为主页</a> <a href="">把百度加为收藏夹</a></p> <p><a href="http://top.baidu.com">搜索风云榜</a> <a href="http://home.baidu.com">关于百度</a> <a href="http://ir.baidu.com">About Baidu</a></p> <p>©2017年10月21日 百度 <a href="/duty">使用百度前必读</a> <a href="http://www.niibeian.gov.cn">北京ICP证030173号</a> <img src="http://gimg.baidu.com/img/gs.gif"></p> </font> </p> </body> </html> 总结: 看似简单,当我们写起来的时候就感觉跟我学起来的完全不一样呢!多加练习有助于我们更快学习。 相关推荐: 以上就是如何用html制作百度首页的详细内容,更多请关注php中文网其它相关文章! 网站建设是一个广义的术语,涵盖了许多不同的技能和学科中所使用的生产和维护的网站。 |
温馨提示:喜欢本站的话,请收藏一下本站!