Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index
XHTML Tutorial - Hyper Link Points to an Image
(Continued from previous topic...)
What Happens If a Hyper Link Points to an Image?
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
>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.
(Continued on next topic...)
- What Are Hyper Links?
- What Is an Anchor "a" Tag/Element?
- How To Define a Hyper Link?
- How To Define a Bookmark?
- What Is a URL?
- What Is the Structure of a URL?
- What Happens If Protocol or Port Number Is Missing in a URL?
- What Happens If a URL Starts with Path or File name?
- What Is a Relative Path Name?
- What Happens If File Name is Missing in a URL?
- How To Build Hyper Link Indexes within the Same Document?
- What Happens If a Hyper Link Points to an Image?
- What Happens If a Hyper Link Points to a Music File?
- What Happens If a Hyper Link Points to a PDF File?
- What Happens If a Hyper Link Points to a ZIP File?
- How To Create A Link to Open a Document in a New Window?