Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using ALT and TITLE tags effectively in images...for SEO...

Status
Not open for further replies.

spewn

Programmer
May 7, 2001
1,034
If I am optimizing a page for SERPs, which is the correct or proper way to build an IMAGE tag?

<img src=long-hair-rabbits.jpg alt='Long hair rabbits' title='Rabbits with long hair'>

or

<img src=rabbits.jpg alt='Long hair rabbits' title='Long hair rabbits'>

thanks!

- g

 
I think this link can answer your question:


Based on what I saw, you need to use the keywords in your document as many times as possible, so your first choice would be better.

Code:
<img src=long-hair-rabbits.jpg alt='Long hair rabbits' title='Rabbits with long hair'>


<.
 
what i meant is should the ALT and TITLE tags match eachother, or is it better to make them different...

- g
 
I'm sorry misunderstood, you do have the following listed:

If I am optimizing a page for SERPs

Since each title and alt tags each contain the keywords which I assume are (long, hair, and rabbit), I don't think it'll make a difference.

In terms of HTML coding practice, out of habit I make my alt and title tags the same, but I'm pretty sure there's no "standard" that states that they're supposed to be the same value.

<.

 
[ul]
[li]Alt and Title [!]attributes[/!][/li]
[li]There is an SEO forum (forum828)[/li]
[li]Depending on your DOCTYPE you should use double quotes on all attributes[/li]
[li]Alt attributes should be a textual representation of the image. They may describe the image. For instance, 'photograph of Mr. Jones' or 'Tek-Tips Logo'[/li]
[li]Title attributes should effectively describe the content of the image. For instance 'Mr Jones opens the new branch office'[/li]
[li]Granted, there is some overlap between the two. But you should only use the attributes to convey relevant text. Don't be tempted to fill them with keywords that don't really relate to the image.[/li]
[li]Ultimately, they have little impact on SERPS. You probably won't even notice a difference. Where they do have impact is for your users in certain circumstances. This is the proper reason to use them, and use them correctly.[/li]
[/ul]

<honk>*:O)</honk>

Earl & Thompson Marketing - Marketing Agency Services in Gloucestershire
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top