What is HTML code that causes captions/comments pop up when mouse is rolled over a hyperlink?

brilliant picture brilliant · Mar 1, 2010 · Viewed 12.6k times · Source

What is that peice of the HTML code that allows me to provide comments to links before the user is actually clicking on them? Do you know what I mean?

I mean, on my web page I have some hyperlinks, and I want to know some information about it - what I will be taken to if I click on this link - so I just roll over my mouse on that link and a certain kind of caption appears providing me with all necessary info about this link.

I know how to make hyperlinks in HTML, but I have no idea how to make these self-popping -up captions. Can anyone, here , please share with me how to do that? Which tags do I need to use for that?

A simple example would be highly appreciated.

Thank you all in advance!

Answer

user241244 picture user241244 · Mar 1, 2010

Title.

<a href="whatever.htm" title="This will cause a tooltip to appear">link</a>