HOW TO SHOW THE DIFFERENT TEXT FOR A LINK, IMAGE OR TEXT WHILE PUTTING CURSOR OVER IT?

Allen Scott

Total Post:46

Points:324
Posted by  Allen Scott
HTML 
 611  View(s)
Ratings:
Rate this:
Hi buddy

Please help me How to show the different Text for a link, image or text while putting cursor over it? 

Thanks
  1. Abhishek Srivasatava

    Post:24

    Points:168
    Re: How to show the different Text for a link, image or text while putting cursor over it?

    Hi Allen, 

    You need to use Text AbbreviationIt is used when you want to show text when we move curser to some specific text, link, image, graph etc.


    Example for each case is given below:

    For link :
    <!DOCTYPE html>
    <html>
    <head>
    <title>Text Abbreviation</title>
    </head>
    <body>
    <p> <abbr title="MindStick"> <a href="http://www.mindstick.com">This is a link</a> </abbr>.</p>
    </body>
    </html>


    For Text:
    <!DOCTYPE html>
    <html>
    <head>
    <title>Text Abbreviation</title>
    </head>
    <body>
    <p> <abbr title="MindStick"> Best Company of India </abbr></p>
    </body>
    </html>


    For Image:
    <!DOCTYPE html>
    <html>
    <head>
    <title>Text Abbreviation</title>
    </head>
    <body>
    <p> <abbr title="MindStick"><img src="prinav.jpg" alt="Abhishek.com" width="104"height="142">
      </abbr></p>
    </body>
    </html>

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!