Chapter 5: Picture This! Using Images on your Web Site

Inline Images

<img src="/images/diagram.jpg" alt="graph showing that single men spend more more money on video games than food" />

Anatomy of the Image Element

Web Accessibility

GIF vs JPG vs PNG

JPEG/JPG
great for photographic images
rectangular
GIF
great for logos and illustrations
have transparency capabilities
PNG
King of transparency
alpha channel transparency
choose intensity of transparency

Adding an Image Gallery to the Site

Basic Image Editing

Sourcing Images for your Web Site

Background Images in CSS