To use an image as a link, put the |
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h2>Image as a Link</h2>
<p>The image is a link. You can click on it.</p>
<a href="default.asp">
<img src="https://itupto.com/avatar.png" alt="HTML tutorial" style="width:42px;height:42px;">
</a>
</body>
</html>
Reffered: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_images_link
What is HTML Images | HTML Images |
How to create HTML Images Syntax | HTML Images |
How to create The src Attribute for Image | HTML Images |
How to create HTML The alt Attribute for Image | HTML Images |
How to create Image Size - Width and Height | HTML Images |
How to create HTML Image Width and Height with CSS Style | HTML Images |
How to create HTML Images in Another Folder | HTML Images |
How to create HTML Images on Another Server/Website | HTML Images |
How to create HTML Animated Images | HTML Images |
How to create HTML Image as a Link | HTML Images |
How to create HTML Image Floating | HTML Images |
Full Example of HTML Image as a Link | HTML Images |
Read Full: | HTML Images |
Category: | Web Tutorial |
Sub Category: | HTML Images |
Uploaded: | 1 year ago |
Uploaded by: | Admin |
Views: | 23 |