Linking to Multimedia Files

The easiest and fastest way to give your visitors access to multimedia files is by creating a link to the file. Links have several advantages. First, your visitor gets to choose whether to load a potentially large file or not. Second, the file will open in any compatible player the visitor has available, not just the one you chose, making it more likely the visitor won’t have to download any special software.

Figure 18.4. The link to the movie encloses a still image.

To link to multimedia files:

1.
Create a multimedia file and upload it to your server.
2.
Type <a href="multimedia.ext">, where multimedia.ext is ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.