Auto AdSense

Saturday, 30 January 2016

Make a hyperlink of an image - HTML Programs

<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: HTML tutorial
No border around the image, but still a link: HTML tutorial

Note: Due to inclusion of code to blogpost, images not able to display. But the code will work properly

No comments:

Post a Comment