# Images That Work Everywhere

Images are usually the heaviest thing on a page and the first thing a screen reader user misses. You will write alt text that helps, pick the right format and size, stop the page from jumping while it loads, and serve phones smaller pictures than big screens.

Updated: November 15, 2026

## [Images with Meaning](https://www.ask-codey.com/courses/html-in-depth/topics/html-images-with-meaning)

1. [Alt Text That Helps](https://www.ask-codey.com/lessons/html-images-alt-text-that-helps) (Apprentice): Write alt text by what each picture is for, so a page still makes sense to someone who can't see its pictures, and add captions everyone can read.

## [Fast Images](https://www.ask-codey.com/courses/html-in-depth/topics/html-fast-images)

1. [Image Formats and File Size](https://www.ask-codey.com/lessons/html-images-formats-and-file-size) (Apprentice): Learn why a photo straight from your phone is far bigger than a page needs, and which file format fits each picture, from JPEG and PNG to SVG, WebP and AVIF.
2. [Image Dimensions and Lazy Loading](https://www.ask-codey.com/lessons/html-images-dimensions-and-lazy-loading) (Journeyman): Stop a page from jumping while its pictures load with width and height, let pictures further down wait with loading="lazy", and give the first picture priority.

## [Responsive Images](https://www.ask-codey.com/courses/html-in-depth/topics/html-responsive-images)

1. [Responsive Images with srcset and sizes](https://www.ask-codey.com/lessons/html-images-srcset-and-sizes) (Journeyman): Offer the same photo in several widths with srcset, tell the browser how wide it will be shown with sizes, and let each phone, laptop and sharp screen download the file it needs.
2. [The Picture Element](https://www.ask-codey.com/lessons/html-images-the-picture-element) (Journeyman): Use picture and source to offer smaller AVIF and WebP files with a JPEG backup, and to show phones a tighter crop of a photo than big screens get.

## [Exercise: Speed Up the Travel Blog](https://www.ask-codey.com/courses/html-in-depth/topics/exercise-html-speed-up-the-travel-blog)

1. [Exercise: Speed Up the Travel Blog](https://www.ask-codey.com/lessons/exercise-html-speed-up-the-travel-blog) (Journeyman): Make a slow travel blog fast and friendly to screen readers, with alt text by purpose, width and height, lazy loading, srcset and a picture element, and measure the difference.

Source: https://www.ask-codey.com/courses/html-in-depth/chapters/html-images-that-work-everywhere
