Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele 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

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 3

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

Awesome!

Completion rate improved to 6.25

bookFigures and Captions

Pyyhkäise näyttääksesi valikon

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

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 3
some-alt