Mobile app version of vmapp.org
Login or Join
Reiling115

: Is it OK to use same text for title and alt text for an image? Should the title and the alt tags have completely different text for a certain image? Or is it OK if I use the same text

@Reiling115

Posted in: #AltAttribute #Html #Images #Seo #TitleAttribute

Should the title and the alt tags have completely different text for a certain image? Or is it OK if I use the same text for both the title tag and alt tag?

The text would be different for every image of course. So image1 would have one text for the alt and title and image2 would use a different text.

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Reiling115

3 Comments

Sorted by latest first Latest Oldest Best

 

@Nickens628

Since tons of people are using internet on mobile devices, I suggest not paying too much attention to the title value in the image tag. On a desktop computer, that value is what people see on screen if they put their mouse pointer over the image for a set period of time (one second?). Once they move the mouse again, the title that appear will now disappear. I have used a few mobile devices and never seen the image title value pop-up on the screen.

What I do in order to lower HTML byte size and lower the chances of keyword spam is not even specify the title. Google hates it when the same set of keywords appear in a page over and over again. Here's an example:

<html>
<head>
<title>Yellow Chicken runny soup inside white chicken runny soup</title>
</head>
<body>
<p>Yellow chicken runny soup is made with white chicken runny soup mixed with light yellow chicken runny soup and one other chicken runny soup. See image of yellow chicken runny soup.</p>
<img src="/path/to/yellow/chicken/runny/soup.jpg" alt="yellow chicken runny soup" title="yellow chicken runny soup">
<p>See image of white chicken runny soup</p>
<img src="/path/to/white/chicken/runny/soup.jpg" alt="white chicken runny soup" title="white chicken runny soup">
<p>And that's all we have for white chicken runny soup and yellow chicken runny soup for today.</p>
</body>
</html>
<!-- copyright yellow and white chicken runny soup enterprises -->


As you can see, having the exact same title and alt value makes your keyword density for keywords higher, but if you don't watch it, you could go overboard to the point where search engines think your site is spam.

What is extremely important is having the alt value specified. This is a value that describes the image that google uses.

P.S. If someone manages to get my HTML posted above in top position in google's index, I'll throw that person in the guiness book of world records.

10% popularity Vote Up Vote Down


 

@Nimeshi995

It is valid but highly not recommended, usually there is a structure you should follow to get the most of the SEO juice avaiable and it is :

For the alternative text you want to show info for the picture, and for title you want to focus on the content the picture associate to.
Example:
If you put an image of a local supermarket, the alt would be "Supermarket x in city" or something. But your title should be related to what the image stands there for, for example "Robbery in local supermarket".

10% popularity Vote Up Vote Down


 

@Berumen354

Not including the “alt tag” is one of the most common SEO mistakes

This is sloppy SEO because search engine robots can’t read images without text, plus you’ve missed a keyword opportunity.
On the other hand, it's a poor experience for users who disabled images in their browsers.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme