: 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
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,
More posts by @Deb1703797
1 Comments
Sorted by latest first Latest Oldest Best
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
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.