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 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.