Hyper Link Points to an Image


What Happens If a Hyper Link Points to an Image?

✍: FYIcenter.com


If you want to build a hyper link to allow visitors to see an image by clicking a hyper link, you can put the URL of the image directly in the "href" attribute of the hyper link. If a visitor clicks the link, the browser will fetch and display the image.

The tutorial example below shows you how image files can be linked by hyper links:

  <p>Click the hyper link to see the 
  <a href="http://www.ihrcanada.com/graphics/scenary.gif"
   >Scenary Image</a> provided by www.ihrcanada.com.</p>

The above code is included below in this document, so you can try it now.

Click the hyper link to see the Scenary Image provided by www.ihrcanada.com.


HTML Hyper Links and URLs

⇒⇒HTML Tutorials

2017-07-03, 485👍, 0💬