Chapter 4. Working with images
In this chapter:
Understanding color theory
Choosing the best image format
Avoiding common mistakes
Working with images in XHTML
Using
alt
text to improve accessibilityUsing
CSS
when working with imagesDisplaying a random image from a selection
Introduction
Although text makes up the bulk of the Web's content, it's inevitable that you'll end up working with images at some point—that is, unless you favor terribly basic websites akin to those last seen in 1995. Images are rife online, comprising the bulk of interfaces, the navigation of millions of sites, and a considerable amount of actual content, too. As the Web continues to barge its way into every facet of life, this trend can only continue; visitors to sites now expect ...
Get The Essential Guide to CSS and HTML Web Design 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.