SEO title vs alt vs text [closed]
Asked Answered
R

6

34

Does the title attribute in a link do the job of the real text in the link for SEO? i.e

<a href="..." title="Web Design">Web Design</a>

is it the same as:

<a href="..." title="Web Design">click here</a>

when trying to get a good page rank for keywords like "web design"? is it like alt attribute in an image tag? or is it useless in SEO?

is it the same as:

<a href="..." alt="Web Design">click here</a>

what's the difference between all the above?

Thank you in advance!

Require answered 9/10, 2010 at 0:14 Comment(1)
I'm voting to close this question as off-topic because this is not about programming but SEO.Greenockite
D
80

Alt is not a valid attribute for <a> elements.

  • Use alt to describe images
  • Use title to describe where the link is going.
  • The textvalue (click here) is the most important part The title attribute gets more and more ignored. Google looks far more on the link text than the title attribute. For google the title tag is like a meta tag which is not important compared to content.
  • Image alt tags are however still very important (especially for image search)
  • The main feature of those tags is to provide usability for your users, not to feed informatino to search engines.
Demeanor answered 9/10, 2010 at 0:17 Comment(2)
Not that I doubt what you are saying, but could you possibly provide some sources to backup your statements about Google's handling of the title tag, etc?Umbilical
i am sorry, but now. the information came to me partly by experience and more importantly on a private basis from employees of seo marketing firms. google deliberately does not publish details about their relevance algorithms so they cannot be exploitet, they only let loos informations on a need-to-now basis in the amount that they see benificial to encourage webmasters to produce what they see as high quality websites.Demeanor
R
4

title attribute hasn't the same value as link text on SEO.

between

<a href="..." title="Web Design">Web Design</a>

and

<a href="..." title="Web Design">click here</a>

stick with the first option. But it is duplicate data, and has no real aggregate value on the case.

The main title purpose, it to give a tooltip about the link's page title. Putting the linked page title is the correct application (think on user first).

The alt attribute is for allow non-textual content to be represented. Consider the examples on WHATWG: http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#alt

EDIT

<a href="http://yoursite.com/posts.php?page=1" rel="prev">1</a>
<span>2</span>
<a href="http://yoursite.com/posts.php?page=3" rel="next">3</a>
...
<a href="http://yoursite.com/posts.php?page=27" rel="last">27</a>
Raffinose answered 9/10, 2010 at 0:21 Comment(11)
ok the idea is that I'm developing a mini wordpress with pagination which contains many links to my pages and I thought about adding titles to the pagination links so they become SEO friendly as the are 1 2 3 4 5 6 7 ... and no text. so I thought about adding the titles so they describe the target pages and I get more SEO backlinks for my pages.Require
you can add a better thing. I am talking about the rel attribute on the a tag. whatwg.org/specs/web-apps/current-work/multipage/…Raffinose
interesting values are: next, index, first, last, prev, up, archives...Raffinose
ah, and yes, this counts much more SEO value as it adds much more semantics to the code.Raffinose
thanks for the link but really I didn't get the point :(Require
See edit for further example...Raffinose
That's a good idea! but could you explain how does this affect SEO?Require
and for the other links: 4 5 6 7 8 9 .... I guess it should be rel="up" as I see in the table, right?Require
Sure thing. There are a lot of factors for on-page SEO. Most relevant is content. Content is king. But all of us heard about optimizing the structure. Putting main stuff on H1 for example. This is structural optimization you can make. Composing nice HTML helps - a lot - on optimizing. This os one of those minor composition tips, that makes you page better composed - thus, has a better rank.Raffinose
for links 4, 5, 5... you should not mark at all. Up is for the uplevel link (the root index in that case).Raffinose
And I really think you should go read a little about Microformats and Google's Rich Snippets. Read about them, and you'll find a new world on composing for web.Raffinose
C
3

The title tag should be used to provide ADDITIONAL information for an element such as a link. If your title tag duplicates the actual link text then it will have no SEO benefit (there are arguments that the duplication could have a slight negative effect too). If, however, you can provide additional, meaningful information on the link such as further details about the content linked (especially if it links to a filetype that Google wouldn't be able to access/index) then they're definitely worth having.

Even as the tooltip in the browser, having a tooltip with the same text as the link text makes no sense, so as a rule of thumb only use it when you have something additional to add, not duplicate.

HTH

Calore answered 14/10, 2010 at 14:35 Comment(0)
V
2

The text in the title attribute is not seen by crawlers. It won't cause keyword stuffing and it won't replace the anchor text for a given URL. It will, however, provide additional info if this is needed. Use it to help your visitors not your SEO efforts.

Vantassel answered 28/1, 2013 at 15:30 Comment(0)
D
1

alt is only valid for images — it's alternate text that serves for screen readers and people with images turned off to understand what an image represents.

title applies to most (if not all) elements, and can be used to provide tooltips for more information about parts of your pages.

I don't think either attribute plays any major roles in SEO. As Joe Hopfgartner says, the actual text of your links is much more significant in terms of semantics, which is why using "click here" as link text is discouraged these days.

Diabolo answered 9/10, 2010 at 0:19 Comment(0)
O
-1

Use this pseudo-code:

<a href="url" title="Title" ref="Ref" target="Target">Text</a>

For instance, this:

<a href="http://example.com" title="Example" ref="external" target="_blank">Example</a> 

renders like this:

Example

Osteoarthritis answered 29/10, 2016 at 13:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.