2

I'm curious if anyone still uses the Title attribute? I've noticed that none of the sites I visit on a regular basis use it at all, I'm talking about sites like ArsTechnica, The Verge, the BBC, etc...big triple-A sites. I found one random reference on the W3C's site to it being abused, is it just out of favor now or is there some specific reason?

3

The attribute title is still in use, usually people choose to use it or not to use it for usability/design purposes (they might not like when text appears on hover).

| improve this answer | |
3

Title and alt have 2 different functions. Alt is used in place of broken images and can be read by "readers" for the blind. Title is used to display information about the picture or any other tag you feel like displaying a "tooltip" for. Some browsers will use the alt for their tooltip but this is browser specific and should not be counted on. If you want your viewers to see the tooltip for an image and are not using IE, there is a good chance they won't see it. This is why you should be using title as well.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.