Image Links

Certify and Increase Opportunity.
Govt. Certified HTML5 Developer

An image can work as a hyperlink, the method is same as with texts by placing the <a href> and the </a> tags on each side of the image tags. Using graphics liven up that tired, bland-looking text link. To make an image link simply insert an image within the anchor tag as shown

<a href=”registration.htm”><img src=”register.jpg”></a>

Some browsers place a small border around the image after turning it into a link which can be removed by specifying the ‘border’ attribute as

<a href=”registration.htm”><img src=”register.jpg” border=”0″></a>

Images that work as links can show a popup text when mouse is placed over it by using the alt attribute in the <img> tag as

<a href=”registration.htm”><img src=”register.jpg” border=”0″ alt=”Register></a>

Get industry recognized certification – Contact us