Pictures, Sound, and Other Media

Because an HTML file contains only text, the graphics you see in Web pages—and the multimedia you can access from Web pages—are not exactly a part of the HTML source file itself. Rather, graphics are linked to the page in either of two ways:

  • Inline images are graphics files whose filenames and locations are noted in the HTML file itself and identified as images by tags. Inline images are incorporated into the layout of the page—all the images you see through a browser when you access the page.

  • External media are image, sound, or video files whose names and locations appear as links in the HTML file. These files do not appear or play automatically as part of the page. Instead, the page shows links that, when activated, ...

Get Sams Teach Yourself Internet and Web Basics All in One 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.