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

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

问题描述

我遇到一种情况,我想坚持使用徽标代替h1标签的实际文本。如果我将关键字放在alt标签中,而不是实际编写,我会在SEO中受苦。同时拥有文字和图像会更好吗?有想法吗?

 < div id = hdr-top-logo> 
< h1>
< a href = />
< img src = logo.jpg alt =关键字和标题 />
< / a>
< / h1>
< / div>


解决方案

SEO最好是投机性的。



通常,接受的约定是在适当的地方使用,并且您不会受到伤害。例如,您的代码我会写这样的东西:

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

实际拥有文本而不是徽标的好处不多,如果有的话。 / p>

注意:alt +标题应具有描述性,因此不要在其中添加大量关键字,否则您将遭受SEO的困扰。


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天全站免登陆