开发者

Using HTML attributes alt & title for a image

开发者 https://www.devze.com 2023-01-23 10:33 出处:网络
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 i

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

精彩评论

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