Links, Images, and Other Non-Text Content

Of course, what makes the Web so vibrant are the links from one page to another, the images, Flash animations, QuickTime movies, MP3 songs, and more. Instead of actually enclosing the external files in the (X)HTML file, these files are saved independently and are simply referenced from within the page. Since the reference is nothing more than text, the (X)HTML file remains universally accessible.

Figure 1.12. In this (X)HTML document, there is a reference to a file called tigerlily.jpg, which the browser will access, open, and load when it loads the rest of the page.

Most browsers can handle links ...

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.