HTML - Image link code.


 

HTML - Image link code.

HTML - Image link code.

HTML - Image link code.

HTML - Image link code.

Description :

HTML image link is a combination of two HTML tags. One is anchor and another is image tag.  Image tag image is  used as a text of anchor tag.

Code :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>HTML is a markup language</title>
</head>
<body>
<h1>Example of HTML Link code.</h1>
<p>Please visit on this link</p>
<a href="http://www.roseindia.net" ><img src="RI-Logo.thumbnail.jpg" /></a>
</body>
</html>

Output:

Ads