LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Firefox and the "alt" in img-tags (https://www.linuxquestions.org/questions/linux-software-2/firefox-and-the-alt-in-img-tags-299268/)

Ephracis 03-08-2005 02:47 PM

Firefox and the "alt" in img-tags
 
I am just wondering if this is something that Firefox does not support or if there is some other problem but the alt-text in the img-tags does not show in Firefox. Back when I was running Windows I remember that I noticed that it worked with IE but not with Mozilla.

If I was not clear enough I mean the text "does not show" in the following HTML:
Code:

<img src="pic.jpg" alt="does not show">

david_ross 03-08-2005 03:18 PM

The alt tag is only supposed to show when the image can't be shown. If you want text to show when you hover then use a title tag:
<img src="image.jpg" alt="Your browser does not support images" title="Stop hovering over my image">

Ephracis 03-08-2005 05:29 PM

Quote:

Originally posted by david_ross
The alt tag is only supposed to show when the image can't be shown. If you want text to show when you hover then use a title tag:
<img src="image.jpg" alt="Your browser does not support images" title="Stop hovering over my image">

Thanks for that information. Then, I am sorry that alot of people that creates pages does not know that since many of them uses the alt-tag to view information about something (in this case it was a product I am ordering and the alt showed the date when it should be in stack). But maybe these people will learn how to improve their sites when Firefox gets more popular. We can only hope, right?

Happy birthday, btw. :)

Matir 03-08-2005 08:52 PM

It does bother me when nobody designs websites to work to standards: instead they design to IE. Oh well. If it doesn't work with FF, I probably don't need it. :) (Except the pizzahut.com ordering site... mmm)


All times are GMT -5. The time now is 06:31 AM.