FireEdgeX
0

LESSON 04 ยท HTML

Images and alternative text

Images use src for the file and alt text for an accessible description.

5 min readIn progress

THE IDEA

Understand the concept

An img element embeds an image and uses src to find it. Its alt text communicates the image's purpose when the image cannot be seen; decorative images can use an empty alt value so they do not add noise.

WORKED EXAMPLE

See it in context

Example