Image

Chapter 4

Working With Images

Image

In this chapter:

  • Understanding color theory
  • Choosing the best image format
  • Avoiding common mistakes
  • Working with images in HTML5
  • Using alt text to improve accessibility
  • Using CSS when working with images
  • Displaying 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, ...

Get The Essential Guide to HTML5 and CSS3 Web Design now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.