1

You know, when you hold your mouse over an image for a while and that little text box comes up.

5 Answers 5

7

it is called a "tooltip"

0
6

Yes, "tooltip".

You can get one over images on a web page by adding a title attribute. This is dependent on implemention in the browser, but it's pretty widely adopted

<img src="https://i.stack.imgur.com/MnmVY.png" title="this is the tooltip"/>

1
  • 2
    As a side note, sometimes browsers display a tooltip based on the alt text (the value of the alt attribute); which is a standard for when a browser cannot display the image, the alt text is shown.
    – Travis
    Aug 19, 2009 at 16:17
5

It's called a tooltip.

2
  • Sorry for the duplicate; he posted a few seconds before me. I don't really want to delete though; since I included a Wikipedia link.
    – DLH
    Aug 19, 2009 at 15:44
  • I gave you a +1 for including the link. :)
    – RiddlerDev
    Aug 19, 2009 at 15:53
3

Is this in HTML? If so it is the title attribute ie <img src="x.jpg" title="tooltip"/>

0
0

Correction: A tooltip is when a balloon appears and gives the user a bit of information about a task they are about to perform, traditionally associated with an "i" icon or "?" a question mark icon. Rollover or mouseover text is the text that appears for HTML hyperlinked text and images and was originally created for browsers that may be unable to publish photos and gives users context to what is being shown without seeing the image.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.