<html>
<body>
<p>Create a link of an image:
<a href="http://www.google.com/">
<img src="smiley.gif" alt="HTML tutorial" width="32" height="32"></a></p>
<p>No border around the image, but still a link:
<a href="http://www.google.com/">
<img border="0" src="smiley.gif" alt="HTML tutorial" width="32" height="32"></a></p>
</body>
</html>
Output
Create a link of an image:
No border around the image, but still a link:
Note: Due to inclusion of code to blogpost, images not able to display. But the code will work properly
No comments:
Post a Comment