|
| 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>
Add:
Del.icio.us |
Digg |
Furl |
My Yahoo!
Discuss This Tip
Print This Tip
Get E-Mail When New Tips are Online
Return to the Web Development - Fonts page. |