Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Figures and Captions | Working with Images and Visual Content
HTML Text and Media Foundations

bookFigures and Captions

The <figure> element allows you to group media, such as images or diagrams, with an accompanying caption. The <figcaption> element provides a clear description or explanation of the visual content. Using these elements together helps users quickly understand the purpose of an image, especially when it provides additional context, like a chart, diagram, or photograph that needs explanation.

index.html

index.html

copy
Note
Note

Always use <figcaption> for images that need explanation. This approach benefits everyone, including users who rely on screen readers for accessible content.

question mark

When should you use the <figcaption> element in HTML?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 3

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Awesome!

Completion rate improved to 6.25

bookFigures and Captions

Swipe to show menu

The <figure> element allows you to group media, such as images or diagrams, with an accompanying caption. The <figcaption> element provides a clear description or explanation of the visual content. Using these elements together helps users quickly understand the purpose of an image, especially when it provides additional context, like a chart, diagram, or photograph that needs explanation.

index.html

index.html

copy
Note
Note

Always use <figcaption> for images that need explanation. This approach benefits everyone, including users who rely on screen readers for accessible content.

question mark

When should you use the <figcaption> element in HTML?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 3
some-alt