组织你的图片 - Google_SEO帮助文档(九)

ptimize your use of images

组织你的图片

Images may seem like a straightforward component of your site, but you can optimize your use of them. All images can have a distinct filename and "alt" attribute, both of which you should take advantage of.

图片作为你网站的字节组成部分,你同样可以对它进行更好的组织。图片都有ALT属性,我们建议您使用它。

The "alt" attribute allows you to specify alternative text for the image if it cannot be displayed for some reason.

alt标签可以让你添加图片的描述,它有如下的好处

g

Our alt text here is a brief but accurate description of the image

我们的ALT文本简介且具有概括性

Why use this attribute? If a user is viewing your site on a browser that doesn't support images, or is using alternative technologies, such as a screen reader, the contents of the alt attribute provide information about the picture.

我们为什么要使用这个标签,如果用户的浏览器不能现实这个图片,或者是使用其他方式浏览,例如投影,图片的描述将会被提供

g

Our image wasn't displayed to the user for some reason, but at least the alt text was

但图片不能显示的时候,ALT文字还能够显示

Another reason is that if you're using an image as a link, the alt text for that image will be treated similarly to the anchor text of a text link. However, we don't recommend using too many images for links in your site's navigation when text links could serve the same purpose. Lastly, optimizing your image filenames and alt text makes it easier for image search projects like  Google Image Search to better understand your images.

另一个理由是如果我们使用图片链接,alt标签的内容就会被视为文字链接中的文字的作用。我们不建议你使用图片替代文字作为你的网站导航,除非有必要。组织你的图片文件名以及alt标签,可以让google更好地了解你网站的内容。

Good practices for images

关于图片的一些好的建议

•  Use brief, but descriptive filenames and alt text - Like many of the other parts of the page targeted for optimization, filenames and alt text (for ASCII languages) are best when they're short, but descriptive.

使用简短的文件名或者ALT文本 - 与页面的其他部分优化类似,文件名和alt文本(为ASCII语言)最好是短小并且概括性。

Avoid避免:

•  using generic filenames like "image1.jpg", "pic.gif", "1.jpg" when possible(some sites with thousands of images might consider automating the naming of images)

使用一些默认的文件名,如 "image1.jpg", "pic.gif", "1.jpg"。(当站点图片太多时也许会采用这种方式)

•  writing extremely lengthy filenames

使用太长的文件名

•  stuffing keywords into alt text or copying and pasting entire sentences

在ALT填满关键词或者是长的句子

•  Supply alt text when using images as links - If you do decide to use an image as a link, filling out its alt text helps Google understand more about the page you're linking to. Imagine that you're writing anchor text for a text link.

当使用图片链接时,提供ALT文本 - 如果您决定使用图像作为链接,填好它的alt文本,这有助于Google对您连接的页更多了解。就好比是锚文本或者文本链接。

Avoid避免:

•  writing excessively long alt text that would be considered spammy

ALT部分的内容太长,通常会被视为滥用

•  using only image links for your site's navigation

仅仅使用图片链接作为站点导航,而没有其他辅助

•  Store images in a directory of their own - Instead of having image files spread out in numerous directories and subdirectories across your domain, consider consolidating your images into a single directory (e.g. brandonsbaseballcards.com/images/). This simplifies the path to your images.

把图片仔仔专门的文件夹 - 与其图片文件零落的存放,不如放在专门的一个文件夹(如根目录下面的images文件夹)里面,这样便于管理

•  Use commonly supported filetypes - Most browsers support  JPEG, GIF, PNG, and BMP image formats.  It's also a good idea to have the extension of your filename match with the filetype.

使用常见的图片格式 -多数浏览器支持 JPEG, GIF PNG和 BMP图像格式。 它也是把你的文件命名称这种类型能够得到很好的扩展。

搜索引擎优化指南内容导读:

  1. 搜索引擎优化指南前言 - Google_SEO官方帮助文档中文版(一)
  2. 创建独一无二,准确的网站标题 - Google_SEO帮助文档(二)
  3. 使用Meta标签的Description属性 - Google_SEO帮助文档(三)
  4. 改进你的URL解构 - Google_SEO帮助文档(四)
  5. 让你的导航更加人性化 - Google_SEO帮助文档(五)
  6. 提供有质量的内容和服务 - Google_SEO帮助文档(六)
  7. 更好的写锚文本 - Google_SEO帮助文档(七)
  8. 适当地使用标题标记 - Google_SEO帮助文档(八)
  9. 组织你的图片 - Google_SEO帮助文档(九)
  10. 发挥robots.txt文件的作用 - Google_SEO帮助文档(十)
  11. 在链接中使用nofollow - Google_SEO帮助文档(十一)
  12. 使用正确的方式推广你的网站 - Google_SEO帮助文档(十二)
  13. 用好免费的WEB管理员工具 - Google_SEO帮助文档(十三)
  14. 充分利用网站分析工具 - Google_SEO帮助文档(十四)
  15. 对管理员有帮助的资源 - Google_SEO帮助文档(十五)



--
365生活网,您身边的朋友
www.365life.org

评论

此博客中的热门博文

时间管理:每天挤出一小时

你的妈妈已经等了二十几年

教您如何认识植柔皮,头层皮革,修面皮革,油蜡皮、水染皮、摔纹皮、纳帕皮、打蜡皮、压花皮、修面皮、漆光皮、磨砂皮、贴膜皮