"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

Web Development - Fonts

Popup Text without Images or JavaScript


 

Here's an interesting trick. You probably know that when you move your mouse over an image, if the image has ALT text, most web browsers show the ALT text. Did you know that you can do the same with text if you are using later versions of Internet Explorer?

By wrapping text inside <FONT TITLE="xxxx"> and </FONT> tags, you can create text that, when the user moves the pointer over said text, causes a popup box to appear, showing the text inside the quotes.

For example, the following HTML displays the line of text "Wonder what HTML stands for? Move your mouse over this text to find out!". When the user moves the pointer over said text, a popup box with the words "Hypertext Markup Language" appears.

<FONT TITLE="Hypertext Markup Language">Wonder what HTML stands for? Move your mouse over this text to find out!</FONT>



Print This Tip

Get E-Mail When New Tips are Online

Return to the Web Development - Fonts page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )