Sams Teach Yourself HTML and CSS in 24 Hours (7th Edition)
This hour has shown you how to use the <img /> tag to place graphics images on your web pages. You learned to include a short text message to appear in place of the image as it loads and to appear whenever someone moves the mouse pointer over the image. You also learned to control the horizontal and vertical alignment of each image and how to make text wrap around the left or right of an image. Finally, you learned how to take advantage of thumbnail images that link to larger images as means of improving the layout of pages. This required using the same <a> tag introduced in Hour 3. What you didn't see is how to use images as custom page backgrounds, which is coming up next, in Hour 9, "Custom Backgrounds and Colors." Table 8.1 summarizes the attributes of the <img /> tag covered in this hour, along with relevant style properties.
|
Категории