开发者

Using HTML attributes alt & title for a image

I would like to insert a image for a description for my site because of the font quality. I am wondering if I put in description in the title开发者_StackOverflow中文版 or alt attribute inside of the img element will it be the same for search engines if it was just text?


The alt tag makes your code valid if it is xhtml document and also useful in terms of SEO. Also if image is not found, the alt text will be shown instead of the image. The title attribute is useful; a tooltip telling you about the image description when you move your move over it.

Check out:

  • Proper Use of ALT and TITLE Attributes


If you put it in the alt then yes this should be true.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜