Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Eric Nevitt4,914 Points
Image caption hover
I am looking for a tutorial where I can add an image caption hover to my site. I have found some, but they either aren't what I'm looking for or have too many options. I'm looking for just a small bar with the name of the the website when you hover over the picture.
You can use title attribute in image element to get name of the website when user hovers over the image. Technically you will have mention the name of your website as a value to title attribute. when users hover over image it will display the value of the title attribute.
Something like this
<img src="image.jpg" title="www.example.com" alt="iage desc">
I hope i answer your question