不繼承了么?這樣<!DOCTYPE?html>
<html>
<head>
<meta?charset="UTF-8">
<title>copy?baidu?</title>
<style?type="text/css">
*{margin:?0;padding:?0;font-family:?"microsoft?yahei";font-size:?14px;color:?#333;}
#n12{?padding:?8px?10px;border-bottom:?1px?solid?#eee}
#n12?i{background:?url(http://i3.tietuku.com/4c70d349b3adee8a.png);background-position:?-5px?-6px;width:?18px;height:?18px;display:?inline-block;vertical-align:?text-top;}
#n12?.left?a{margin-right:?7px}
#n12?.left?.weather?a{text-decoration:none;}
#n12?.left?.weather?.qu5{color:?#38f}
#n12?.right{float:?right;}
#n12?.right?a{margin-left:?13px}
#n12?.right?.keypart?a{font-weight:bold;text-decoration:?none;?}
#b4{background-color:?red;width:500px;margin:?0?auto;clear:both;}
#f6?i{background:?url(http://i3.tietuku.com/18cfdc6d7f820959.png);width:?18px;height:?18px;line-height:?1px;display:?inline-block;}
</style>
</head>
<body>
<div?id="n12">
<p>
<span>
<a?href="#">深圳</a>
<i></i>
<a?href="#">28℃</a>
<a?href="#">優(yōu)?37</a>
</span>
<a?href="#"></a>
<a?href="#">寶箱</a>
<a?href="#">換膚</a>
<a?href="#">消息</a>
<a?href="#">顯示卡片</a>
<span>
<span>
<a?href="#">新聞</a>
<a?href="#">hao123</a>
<a?href="#">地圖</a>
<a?href="#">視頻</a>
<a?href="#">貼吧</a>
</span>
<a?href="#">inf=sdad</a>
<a?href="#">設(shè)置</a>
<button?type="button"?value="more">更多產(chǎn)品</button>
</span>
</p>
</div>
<div?id="b4">
<img?src="http://i2.tietuku.com/2b1596cfa777ae32.png">
</div>
<div?id="f6">
<p>設(shè)為首頁(yè)?@2015?Baidu?使用百度前必讀?意見(jiàn)反饋?京ICP證030173號(hào)<i></i></p>
</div>
</body>
</html>是這樣的可是給”優(yōu)“加個(gè)<strong>標(biāo)簽<!DOCTYPE?html>
<html>
<head>
<meta?charset="UTF-8">
<title>copy?baidu?</title>
<style?type="text/css">
*{margin:?0;padding:?0;font-family:?"microsoft?yahei";font-size:?14px;color:?#333;}
#n12{?padding:?8px?10px;border-bottom:?1px?solid?#eee}
#n12?i{background:?url(http://i3.tietuku.com/4c70d349b3adee8a.png);background-position:?-5px?-6px;width:?18px;height:?18px;display:?inline-block;vertical-align:?text-top;}
#n12?.left?a{margin-right:?7px}
#n12?.left?.weather?a{text-decoration:none;}
#n12?.left?.weather?.qu5{color:?#38f}
#n12?.right{float:?right;}
#n12?.right?a{margin-left:?13px}
#n12?.right?.keypart?a{font-weight:bold;text-decoration:?none;?}
#b4{background-color:?red;width:500px;margin:?0?auto;clear:both;}
#f6?i{background:?url(http://i3.tietuku.com/18cfdc6d7f820959.png);width:?18px;height:?18px;line-height:?1px;display:?inline-block;}
</style>
</head>
<body>
<div?id="n12">
<p>
<span>
<a?href="#">深圳</a>
<i></i>
<a?href="#">28℃</a>
<a?href="#"><strong>優(yōu)</strong>?37</a><!--?這里!?。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。?-->
</span>
<a?href="#"></a>
<a?href="#">寶箱</a>
<a?href="#">換膚</a>
<a?href="#">消息</a>
<a?href="#">顯示卡片</a>
<span>
<span>
<a?href="#">新聞</a>
<a?href="#">hao123</a>
<a?href="#">地圖</a>
<a?href="#">視頻</a>
<a?href="#">貼吧</a>
</span>
<a?href="#">inf=sdad</a>
<a?href="#">設(shè)置</a>
<button?type="button"?value="more">更多產(chǎn)品</button>
</span>
</p>
</div>
<div?id="b4">
<img?src="http://i2.tietuku.com/2b1596cfa777ae32.png">
</div>
<div?id="f6">
<p>設(shè)為首頁(yè)?@2015?Baidu?使用百度前必讀?意見(jiàn)反饋?京ICP證030173號(hào)<i></i></p>
</div>
</body>
</html>就這樣了為什么ね。。
添加回答
舉報(bào)
0/150
提交
取消