Hyper Link Points to an Image

Q

What Happens If a Hyper Link Points to an Image?

✍: FYIcenter.com

A

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"
   >Scenery 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 Scenery Image provided by www.ihrcanada.com.

 

Hyper Link Points to a Music File

Hyper Link Indexes within the HTML Document

HTML Hyper Links and URLs

⇑⇑ HTML Tutorials

2017-07-03, 1466🔥, 0💬