Create a HTML document to use an image as a link.


Input


<!DOCTYPE html>
<html>
   <body>
      <h1>Click on the image to view my blog</h1>
      <a href = "https://codingfreak18.blogspot.com/" target = "_self">
         <img src = "C:\Users\new user.LAPTOP-5GLT5PL6\Downloads/circle-cropped (1).png" width="200" height="200" />
      </a>
   </body>
</html>




Output





After clicking the image , it will send you to the specified address




No comments:

Post a Comment