HTML Links - Image as Link Explain
It is common to use images as links.
Html Code:
<!DOCTYPE html>
<html>
<body>
<p>The image is a link. You can click on it.</p>
<a href="default.asp">
<img src="Daddyfile.jpg" alt="Daddyfile" style="width:200px;height:112px;border:0">
</a>
<p>We have added "border:0" to prevent IE9 (and earlier) from displaying a border around the image.</p>
</body>
</html>
Html Code Result:
The image is a link. You can click on it.
We have added "border:0" to prevent IE9 (and earlier) from displaying a border around the image.
We have added "border:0" to prevent IE9 (and earlier) from displaying a border around the image.
Post a Comment