This tip was printed from the MalekTips Computer and Technology Help and Tips website at http://malektips.com.

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>


 


Press the "print" button on your browser or select "File" - "Print" to print this tip. Then, return to Web Development - Fonts - Popup Text without Images or JavaScript
 
Standard disclaimer applies - read http://malektips.com/disclaim.html.