Sunday, May 26, 2013

img tag tooltip text

Sometime we use img tag for put icon in html page at that time we can put tooltip text using title attrbute of img tag.

example.:
<img src="image/delete_icon.jpg" alt="delete" title="Delete" onclick="del('<?php echo $row['type_id']; ?>')">

No comments:

Post a Comment