To use image as a link in HTML, use the <img> tag as well as the <a > tag with the href attribute. The <img> tag is for using an image in a web page and the <a> tag is for adding a link. Under the image tag src attribute, add the URL of the image. With that, also add the height and width.

How to Image Link ?

Creating an Image Link is almost the same as creating a text Link. You can create an Image Link by substitute an image tag in the place of the link text.

If you move the mouse over the Image Link, it will turn into the little pointing hand and when you click it will act same as normal link. Some browsers will automatically display a border around your image link , to turn off this border , set border=0 in your IMG tag.

1
0
Would love your thoughts, please comment.x
()
x