seo - 图像和和h1 [英] seo - images and and h1

查看:120
本文介绍了seo - 图像和和h1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎无法围绕这一点。



我有一种情况,我想坚持使用我的标志,而不是实际的文本为我的h1标签。如果我把我的关键字在alt标签,而不是实际写入,我将在SEO受苦。最好同时拥有文本和图像吗?

 < div id =hdr-top-logo> 
< h1>
< a href =/>
< img src =logo.jpgalt =keywords and title/>
< / a>
< / h1>
< / div>


解决方案

SEO最好是投机。



通常接受的惯例是在适当的地方使用,你不会受苦。例如,你的代码我会这样写:

 < div id =hdr-top-logo> 
< h1>
< a href =/title =Blahblah.com logo>
< img src =logo.jpgalt =Blahblah logo/>
< / a>
< / h1>
< / div>

实际使用文字而不是标志的好处并不多。 / p>

注意:alt + title应该是描述,因此不要在其中加入一堆关键字,否则您会受到SEO的影响。


I can't seem to wrap my head around this.

i have a situation where i'd like to stick to using my logo instead of the actual text for my h1 tags. if i put in my keywords in the alt tag, instead of actually written, will i suffer in SEO. Is it better to have both text and an image? Thoughts?

<div id="hdr-top-logo">
 <h1>                   
  <a href="/">
   <img src="logo.jpg" alt="keywords and title" />
  </a>
 </h1>
</div>

解决方案

SEO is speculative at best.

Generally the accepted convention is to use where appropriate and you won't suffer. For example, your code I would write something like this:

<div id="hdr-top-logo">
 <h1>                   
  <a href="/" title="Blahblah.com logo">
   <img src="logo.jpg" alt="Blahblah logo" />
  </a>
 </h1>
</div>

The benefits of actually having the text instead of the logo won't be much, if anything.

Note: alt + title should be descriptive, so don't just stuff a bunch of keywords in there, otherwise you will suffer SEO wise.

这篇关于seo - 图像和和h1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆