![]() |
Whats better to use? title or alt tag?
I see more and more sites using "title" tag instead of "alt" tag when inserting an image to a page, whats the difference? SEO? What is better of those two?
|
'title' = the text your browser is supposed to show when you are hovering over the image.
'alt' = the text your browser is supposed to show when the image couldn't be downloaded or your browser is configured to not show images... |
title goes in <a> whereas alt goes in <img>
|
Quote:
|
Title= is for the nature of a link. It describes the link you are linking to. IE: It's the title/anchor text for an image.
It can also be used to describe a linked picture, if the picture is about the linked page. This way text around the image + the link + the relevant page match. However, I have seen no proof that this works for any SEO value. alt: Describes the exact picture that is being displayed. Not the linked page. |
Use both?
|
May have been hard to understand:
The link is over an image, using title tells the bot what the linked page is about. Code:
<a href="#" title="my phrase"><img src="img.jpg"></a>Code:
<a href="#"><img src="img.jpg" title="my phrase"></a>Code:
<a href="#"><img src="img.jpg" alt="about picture"></a>You can use both, use title in your a href's that link to images (not text), and use alt tags in any image with supporting text around it. So not all images need alt tags. |
You're referring to the title attribute not the tag...
The title tag is important. The title attribute is not. The title attribute can be added to almost any tag on a page so it would be open for major abuse if given any significant value by search engines. |
Quote:
|
Quote:
Quote:
|
BTW... it doesn't ever HURT to use title attributes...
..but NEVER neglect alt in favor of title. |
Use both. Alt tag is the text that shows before and/or if the images does not load ie "Nude Pic of aico", Title tag is the text that shows up next to your cursor when you mouse over a link or image, ie "Click to see Nude Pic of aico".
|
I see doc.. you thought I was talking to you in my original post.
My orginal comment was to the OP; he called it a tag in the title. :2 cents: |
| All times are GMT -7. The time now is 09:15 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123