HTML Links, Images, and Lists
Building Useful Content
Links connect the web
Links are the web's superpower. They let users move between pages, jump to sections on a page, or open downloadable resources.
Images and accessibility
Images add visual information, but they should always include meaningful alternative text when needed. Alt text helps users who cannot see the image and supports screen readers.
Don't use images as a substitute for text
Important information should usually be written as text so it remains readable, searchable, and accessible.
Useful element roles
aimgulolliWhen to use each list type
| List type | Best for |
|---|---|
| Unordered list | Items without a strict order |
| Ordered list | Steps or ranked items |
Which HTML element creates a link?
The anchor element a creates hyperlinks.
Correct answer: a
Why is alt text important for images?
Alt text supports screen readers and missing-image cases.
Correct answer: It helps people understand the image when they cannot see it and improves accessibility.
Which list is best for numbered steps?
Ordered lists are used when sequence matters.
Correct answer: ol