Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index
XHTML Tutorial - Hyper Link Points to a Music File
(Continued from previous topic...)
What Happens If a Hyper Link Points to a Music File?
If you want to build a hyper link to allow visitors to access
a music/sound file by clicking a hyper link, you can put the URL of the music/sound file
directly in the "href" attribute of the hyper link. If a visitor clicks the link,
the browser will fetch the music/sound file, and launch an audio player program
to play it for you automatically.
The tutorial example below shows you how music/sound files can be linked
by hyper links:
<p>Click the hyper link to hear the
>Bird Sound</a> provided by sunsite.sut.ac.jp.</p>
The above code is included below in this document, so you can try it now.
Click the hyper link to hear the
Bird Sound 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?