《2018年11月14日》【连续407天】
标题:三大标签的优化,header ,logo制作;
内容:
网站优化的三大标签:
title :长度 google 70KB 35个中文 ; Baidu 56KB 28个中文;
最先出现的词语权重越高;
description :
Keywords:
页面关键词,搜索引擎关注点之一;
2.
<!-- header 部分 start -->
<div class="header">
<div class="w inner">
<div class="logo">
<h1>
<a href="#" title="京东网">京东</a>
</h1>
</div>
</div>
</div>
<!-- header 部分 end -->
/*header部分*/
.header {
height: 140px;
}
.inner {
height: 140px;
position: relative;
}
.logo {
width: 190px;
height: 170px;
position: absolute;
top: 0;
left: 0;
top: -30px;
}
.logo h1 {
margin:0;
}
.logo a {
display: block;
height: 170px;
width: 190px;
background: url(../images/logo.jpg) no-repeat;
text-indent: -999px;
}