Thursday 15 April 2010

Adding an image to HTML code from the web -


I would like to add a picture to my code which is not from my computer, but from the web assume that the link to the image is "www ".image.test", how should the code be written? And, if I want to hide a link behind that image?

The simple code will look like & lt; A href & gt; will add a link when clicking on the image, and and lt; Img & gt; The tag will append the image to the appropriate image URL which you will specify.

  & lt; A href = "http://www.examplelink.com" & gt; & Lt; Img src = "http: //www.image.test" & gt; & Lt; / A & gt;  

No comments:

Post a Comment