I would like to display text when the user mouseovers the image.
How can I do this in HTML/JS?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
titleattribute.You can change the source of image as you want.
And as @Gray commented:
You can also use the
titleon other things like<a ...anchors,<p>,<div>,<input>, etc.See: this