Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to add a link to an image in html

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Image as link</title>
   </head>
   <body>
      The following image works as a link:<br>
      <a href="https://www.qries.com/">
         <img alt="Qries" src="https://www.qries.com/images/banner_logo.png"
         width=150" height="70">
      </a>
   </body>
</html>
Comment

html image with link

<a href="https://www.google.com">
	<img src="./images/image.jpg" />
</a>
Comment

html image with link

<a href="https://www.google.com"><img alt="Google" src="img.jpg" 
                                      style="max-width:960px"/></a>
Comment

PREVIOUS NEXT
Code Example
Html :: how to make web page center 
Html :: js html input type image base64 example 
Html :: how to add video in background in html 
Html :: html link tag for other website 
Html :: how to use figure and caption in html 
Html :: css force string to wrap 
Html :: add image to anchor 
Html :: bootstrap 3 form template 
Html :: bootstrap 4 spinner not showing 
Html :: log svg icon 
Html :: html simbols 
Html :: django cannot update static css 
Html :: ion input password 
Html :: how to disable shadow in bootstrap button 
Html :: html copy button 
Html :: link fa fa icon 
Html :: how to change html code of a website 
Html :: html button click url 
Html :: go to id html 
Html :: html meter change color 
Html :: faq html css 
Html :: get image from google drive 
Html :: Basic Boilerplate 
Html :: link open in new tab html 
Html :: copy right html footer 
Html :: add subject to mailto 
Html :: nuxt-lazy-load ignore images 
Html :: tailwind css search bar 
Html :: how to set table column width in html 
Html :: block level elements 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =