Mobile app version of vmapp.org
Login or Join
Deb1703797

: Link titles - Any best practices you could cite? When building <a href title=""> tags, are there any formal or informal UX&SEO best practices you ever came across into ? Please season

@Deb1703797

Posted in: #Links

When building <a href title=""> tags, are there any formal or informal UX&SEO best practices you ever came across into ? Please season your answer with as much experience detailing as possible,

I had the feeling that if your site is multilingual and is not English by nativity, it is good to create English link-titles as a quality factor == It helps visitors who does not speak the sites language to navigate better and might be better than machine-translation as hopefully they would see a quite clear English explanation about the link when they hover on it. Your thoughts on this theory are also welcome,

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Deb1703797

1 Comments

Sorted by latest first Latest Oldest Best

 

@Si4351233

The description is an invalid attribute for the anchor tag don't use it.
Use title instead.

Updated answer

The title attribute is used to show the title of the page that is linked to. You can perhaps put in the original language title and then the english translation, so it'll be displayed on hover.

This is what the title attribute is used for:
OPTIONAL. This is informational only. If present the value of this field should equal the value of the TITLE of the document whose address is given by the HREF attribute.

So using the title in an anchor tag you should put the title of the page you're linking to. That'll be best practice and valid mark up.
www.w3.org/MarkUp/1995-archive/Elements/A.html
Here are a few more supported attributes for html5. www.w3schools.com/tags/tag_a.asp
And these are the global attributes supported. www.w3schools.com/tags/ref_eventattributes.asp

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme