PDA

View Full Version : text when you hover over an image


colaroid
04-22-2010, 10:24 AM
how do I add text that will be seen when I hover over an image. I know how to do for text but not for an image?

d a v e
04-22-2010, 10:45 AM
use the title attribute

<img src="myimage.jpg" title="text displayed when hovered">

colaroid
04-22-2010, 10:52 AM
Thanks for your help!

gentleone
04-22-2010, 11:00 AM
you can add/use the title attribute pretty much to/on any html element.

DWcourse
04-22-2010, 01:47 PM
Or, for more extensive text, you could use one of Dreamweaver Spry Tooltips.