Page 1 of 1

ALT text on text links not just image links?

Posted: Wed Mar 26, 2003 1:15 pm
by MattSharp
when you put your mouse over an image that is a link (such as the smilies to the left) text shows up. I know there is a way to do this for a text link as well but I cannot remember how. Is it JavaScript or is there something easier?

Posted: Wed Mar 26, 2003 1:35 pm
by twigletmac
Much easier than JavaScript, just use the title attribute:

Code: Select all

<a href="page.php" title="This is what you see when you rollover the link">text</a>
Mac