HTML/Elemente/figcaption
Aus SELFHTML-Wiki
< HTML | Elemente(Weitergeleitet von Figcaption)
Das figcaption-Element ist die Beschriftung oder Legende eines figure
-Elementes.
- Syntax
- Start-Tag: notwendig
- End-Tag: notwendig
- WAI‑ARIA‑Rolle
-
- keine
- Elternelemente
- Darf vorkommen in:
- figure
- das
figcaption
-Element muss erstes oder letztes Kindelement sein
- erlaubte Inhalte
-
- Text
- Elemente mit flow content
Beispiel
<figure role="group">
<img src="Selfhtml-Logo-Neu.png" alt="SelfHTML-Logo">
<figcaption>
Das SelfHTML-Logo von 2012 (<a href="#">weitere Informationen</a>)
</figcaption>
</figure>
Siehe auch
- HTML/Tutorials/Textstrukturierung
figure und figcaption - Bilder im Internet/Einbindung mit img#Bildunterschriften
Weblinks
- Spezifikation (W3C): The figcaption-Element
Textstrukturierung