Show text on image hover

Show text on image hover : It is a common requirement to show a text on hover of an image. I recently wanted to do the same. Below is the straight forward and simple solution for the same.

Using the title tag, we can easily do so, check the code below

{code type=html}

<img src=”” alt=”My Avatar” title=”I love Rock n Roll ! “></img>


Example Image :

My Avatar