How to add and link image to other page in hTML

Ads by Google
Adding and Linking an image in html

This is our third step towards a web development course. Starting with HTML is like making a skeleton of the website. We will discuss about the linking of an image in a website to the other website or web page.

HTML Utilize the <img> element as well as the <a> tag with the href property to use an image as a link in HTML. The <img> element is used to include an image in a web page, whereas the <a> tag is used to include a link.

Add the picture’s URL to the src property of the image element. Include the height and breadth as well.

<!DOCTYPE html>
      <title>HTML Image as link</title>
      The following image works as a link:<br>
      <a href="">
         <img alt="Qries" src=""
         width=150" height="70">

Top 5 programming languages for your

Learn about metatag and head in html

Ads by Google

Leave a Comment

Your email address will not be published. Required fields are marked *

Tech Info