软件工程第二次作业——制作网站

码云:https://gitee.com/lzqyayaya/codes/d0lfszph596kxeri2qtow31

源代码:


<!DOCTYPE html>
<meta charset="utf-8">
<title>Baidu</title>
<style>
html { background: #fff; margin: 0 1em; }
body { font: .8125em/1.5 arial, sans-serif; text-align: center; }
h1 { font-size: 1.5em; font-weight: normal; margin: 1em 0 0; }
p#footer { color: #767676; font-size: .77em; }
p#footer a { background: url(//www.google.cn/intl/zh-CN_cn/images/cn_icp.gif) top right no-repeat; padding: 5px 20px 5px 0; }
ul { margin: 2em; padding: 0; }
li { display: inline; padding: 0 2em; }
div { -moz-border-radius: 20px; -webkit-border-radius: 20px; border: 1px solid #ccc; border-radius: 20px; margin: 2em auto 1em; max-width: 650px; min-width: 544px; }
div:hover, div:hover * { cursor: pointer; }
div:hover { border-color: #999; }
div p { margin: .5em 0 1.5em; }
img { border: 0; }
</style>
<div>
<img src="//www.google.cn/landing/cnexp/google-search.png" alt="Google" width="586" height="257">
</a>
<h1><a href="https://www.baidu.com/?tn=78040160_15_pg&ch=11"><strong id="target">Baidu.com</strong></a></h1>
<p>请收藏我们的网址</p>
<img src="img/二维码.png" width="257" height="257" />
</div>
<ul>
<li><a href="https://fanyi.baidu.com/?aldtype=16047#auto/zh">翻译</a>
</ul>
</body>

</html>

原网址:

模仿:

注:由于谷歌浏览器需要挂VPN,所以把一部分代码换成了百度

       二维码是我自己的

posted @ 2019-03-26 20:55  代码的谎言  阅读(332)  评论(0编辑  收藏  举报