View Single Post
  #4 (permalink)  
Old 09-05-2008, 05:51 PM
wige's Avatar
wige wige is offline
Moderator
WebProWorld Moderator
 
Join Date: Jun 2006
Location: United States
Posts: 2,648
wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9
Default Re: Title tag, Alt tag, or use Both on images?

By the standard, text that should be displayed on mouseover should be in the title attribute, and text that should be displayed when the image is not available, or which should be shown on non-visual browsers, belongs in the alt attribute. However, Internet Explorer (and then most other browsers) does the opposite, displaying what is in the alt attribute on mouseover. Firefox broke this trend with version 2 (if I recall correctly) as they moved to be more standards compliant. Now, browsers may use either attribute. Personally, I use both on my sites, where appropriate. However, when doing so, I put identical text in both attributes, to avoid the search engines red flagging the page.
__________________
The best way to learn anything, is to question everything.
Reply With Quote