Jump to content

alternate text problem


GOO

Recommended Posts

Depends what you mean by "displayed". The alt text should only be used when the image is not available. If you want a tooltip (the thing IE shows when your mouse is over an image with alt text), then use the "title" attribute instead. Example:

<img src="image.gif" alt="Text that appears in both IE and FF as well as other user-agents if the image is not there or is simply not downloadable for some reason. Screen readers I think also read this text." title="This text will appear as a tooltip in all major browsers, including IE and FF." />

Link to comment
Share on other sites

yes, alt text is text that will be displayed if the picture is unavaiable or if the picture is loading and title is displayed in a small yellow box if the user hovers over the picutre.I used this particular attribute when I had picture linking to somewhere, so when you hovered it said "Buy this book from Tarquin" I think. If you would like to look at it follow the link below:Click Here

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...