<alt> tag alternative for Netscape?
This is probably a very basic question, but in the name of accessibility I was wondering whether there was an alternative to <alt> tags for Netscape, as it doesn't seem to support them?
Ps. Have just created my first page without using tables for layout!! only <div> and css, yay!
There is no alt tag the w3 specs. (all elements).
What's it meant to do? I'm sure there's a standards compliant alternative.
Do you mean <img src="lalala" alt="image" />?
yes, that's the one! I have an image map, which when you hover over the links in IE gives the names of the links. I was wondering whether there is a way of doing that in Netscape? Or if in actual fact I need to do it as I have placed standard text links at the bottom of the page..?
Something you can do in that case, is give the a element a title.
But, I'm not even sure the title attribute is supported in netscape either...
<a href="mypage.htm" title="Somewhere"><img src="yourimage.gif" /></a>
Use the title attribute for the tooltips. The alt attribute should only be seen as text in an empty image box when the image is not available. IE does not do it to W3C recommendations
"IE does not do it to W3C recommendations" - nothing new there then.
alt= what to display in place of the image if the browser can't display the image
title= what to display as a tooltip when the mouse goes over the field.
All modern browsers support these actions. IE also support displaying alt= as if it were title= which is a harmless addition to the standard as long as you remember to code the title=
title might be an alternative
waoo, thanks ! I didn't know that !
Originally Posted by felgall
I always used title for the links and alt for the images... by seeing the results on IE, I assumed it was basically the same thing...
Thanks a lot for bringing that piece of info ! ( I feel like a newbie... *blushes* )
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)