Use an image as a link

Use an image as a link

<!DOCTYPE html>
<html>
<body>

<p>Create a link of an image: <a href="http://www.google.com/"> <img src="home.png" 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="home.png" 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: 

ليست هناك تعليقات:

إرسال تعليق