Mahima is creating a website in which he wants to use different images as links to the webpages. Can you suggest him the required tag to accomplish the task?
Answers
Answered by
2
Answer:
To use image as a link in HTML, use the <img> tag as well as the <a> tag with the href attribute. The <img> tag is for using an image in a web page and the <a> tag is for adding a link. Under the image tag src attribute, add the URL of the image. With that, also add the height and width.
Similar questions