Friday, 13 October 2017

How to make an image hyperlink in html.

In this blog we will see how to make an image hyperlink in html,you can do so by following the given steps below.

Step 1: Go to notepad and type the given codes below.


 <!DOCTYPE html>
 <html>
 <body>

 <p>The image below will act as a hyperlink.</p>

 <a href="page url">
 <img src="image url " alt="specify your image"   style="width:128px;height:128px;">
 </a>

 </body>
 </html>


Step 2: Save the file in .html extension and run.
Share:

0 comments:

Post a Comment