Chapter 6. Using Images
Once you’ve created the fastest-loading, hottest-looking images you can—perhaps with the techniques in the previous chapter—you’re ready to get back to (X)HTML and get those images on your page.
Inserting Images on a Page
You can place all kinds of images on your Web page, from logos to photographs. Images placed as described here appear automatically when the visitor jumps to your page, as long as the browser is set up to view them.
To insert an image on a page
Place the cursor where you want the image to appear.
Type <img src=“image.url” where image.url indicates the location of the image file on the server (see page 33).
Type a space and then the final />.
Example 6.1. The URL for this image, since it contains only the file ...
Get HTML for the World Wide Web, Fifth Edition, with XHTML and CSS 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.