NetTalk Central

NetTalk Web Server => Web Server - Share Knowledge => Topic started by: Mike Grigsby on July 28, 2008, 08:05:16 AM

Title: Why ALT tags don't show on Firefox images
Post by: Mike Grigsby on July 28, 2008, 08:05:16 AM
I wondered why my image tool tips weren't showing in my apps:

Firefox won't display an image's ALT tag unless you add a TITLE to it.

So this tag won't display a tooltip:

<img src="somepic.jpg" alt="This is my dog" />

This one will:

<img src="somepic.jpg" title="This is my dog" alt="This is my dog" />

I don't believe the title has to match the ALT tag--you simply have to have one for the ALT tag to work.