how to make a clickable image link

You can create a clickable image link by writing the following code -

  1. <a href=”thelink”> 
  2. <img src=”imageurl” alt=”backuptext" style=” width:200px ; height:auto ; border=0;”>  
  3. </a>  

So by this you can create a clickable image link.

The alt attribute provides an alternate text for an image, if the user for some reason cannot view it. It's optional though.

You can style the image by style Attribute. You can change image width, height and add border. But its also optional.


4 Kudos

Comments

Displaying 0 of 0 comments ( View all | Add Comment )