← Frontend path
// Frontend path · Step 07 · <img>
Images
Fast, sharp images on every device.
// what you'll learn
- →Image formats (AVIF, WebP)
- →Responsive srcset and sizes
- →Lazy loading
- →Compression
// why it matters
Images are usually the heaviest part of a page, so fixing them is an easy, visible win.
// project ideas to build
Photo gallery
beginnerA grid of responsive images with good alt text.
Optimised gallery
intermediateServe modern formats and sizes, then compare load times before and after.
Project ideas written by LEARN. Build them on the canvas or in your own repo.
// every lesson in the course
0/17
- 01Welcome ↗An in-depth course on images for the web.lesson + test
- 02History ↗A history of images on the web, starting with the image element in 1993lesson + test
- 03Performance issues ↗Learn ways to ensure that your image requests are as small and performant as possible.lesson + test
- 04Vector images ↗Learn about SVG, the vector image format used on the web.lesson + test
- 05Raster images ↗Discover raster images, such as JPEG, GIF, PNG, and WebP.lesson + test
- 06Gif ↗Understand the GIF image format, along with an explanation of how image encoding works.lesson + test
- 07Png ↗Find out when PNG is the best image format to choose.lesson + test
- 08Jpeg ↗Learn about the most common image format on the web.lesson + test
- 09Webp ↗Learn about WebP, and understand the difference between this format and others.lesson + test
- 10Avif ↗AV1 Image File Format (AVIF) is an encoding based on the open source AV1 video codec.lesson + test
- 11Responsive images ↗A deep dive into responsive images.lesson + test
- 12Descriptive ↗Using srcset and sizes to provide the browser with information about image sources and how they'll be used.lesson + test
- 13Prescriptive ↗Find out about the picture element.lesson + test
- 14Automating ↗Make generating highly performant image sources a seamless part of your development process.lesson + test
- 15Cms ↗Discover how CMSs such as WordPress, and other site generators can make it easier to use responsive images.lesson + test
- 16Cdn ↗Learn how image CDNs have the ability to transform and optimize the contents of an image.lesson + test
- 17Conclusion ↗Some additional resources.lesson + test
Original lessons by web.dev. Course content belongs to its creators.