By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,453 Members | 961 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,453 IT Pros & Developers. It's quick & easy.


P: 47
dear sir... i using icon to make my interface look nicer but my problem was how can i get when user point to the image, then some info to show what the image use for??
Sep 26 '08 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 2.5K+
P: 3,503
To do something when the mouse is over the image, use the 'onmouseover' option. For the text, you can add an 'alt' to your image tag.


Sep 26 '08 #2

Expert Mod 15k+
P: 16,027
If you want something simple, use the title attribute.

Note that the alt attribute is exactly that - alternative text to display if the image doesn't load/show up. It's not a substitute for the title attribute, though IE (not sure of other browsers) would like to think otherwise.
Sep 26 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.