当前位置:首页 > Web开发 > 正文

标签: 一、 我们制作一个百度首页作为练习

2024-03-31 Web开发

标签:

一、 我们制作一个百度首页作为操练,可直接复制该代码生存后缀名为.html来检察

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>d93_baidu_home_exercise</title> <style> .header{ height: 250px; /*background-color: red;*/ } .content{ height: 220px; /*background-color: pink;*/ ? } .footer{ height: 200px; /*background-color:green;*/ } div{ text-align: center; } .logo{ background-color:skyblue; height: 130px; } input[type=text]{ width: 400px; height:30px; } input[type=submit]{ width:80px; height:30px; } .content_form{ height:80px; } body{ font-size: 16px; } </style> </head> <body> <div> <div> <img src="http://www.mamicode.com/image/baidu_logo.png"> </div> <div> <a href="#">新闻</a> <a href="#">音乐</a> <a href="#">知道</a> <a href="#">文库</a> <a href="#">应用</a> <a href="#">视频</a> <a href="#">舆图</a> </div> </div> <div> <div> <form action="http://www.baidu.com"> <input type="text"> <input type="submit" value="百度一下" > </form> </div> <div> <a href="#">百科</a> <a href="#">文库</a> <a href="#">hao123</a> <a href="#">更多>></a> </div> </div> <div> <div> <a href="#">把百度设为首页</a> <a href="#">安置百度卫士</a> </div> <div> <a href="#">插手百度推广</a> | <a href="#">关于百度</a> | <a href="#">About 百度</a> </div> <div> @2019Baidu,,使用百度前必读 京ICP证666号 </div> </div> </body> </html> web前端开发学习Q-q-u-n: ⑦⑧④-⑦⑧③-零①②,分享学习的要领和需要注意的小细节,不竭更新最新的教程和学习要领(详细的前端项目实战教学视频)

技术图片

温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/web/32791.html