<figcaption>: כותרת לאלמנט Figure
תגית <figcaption>
היא תגית המייצגת כותרת או טקסט לאלמנט האב שלו תגית <figure>.
The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.
קטגוריה | תגיות להזנת תוכן. |
---|---|
תוכן מורשה |
טקסט ומספרים. |
תגיות הורים מורשות | תגית זו מורשת להופיע בגוף המסמך אך חייבת להיות כפופה אל תגית <figure> . |
ממשק DOM | HTMLElement (en-US) |
תארים
תגית זו נכללת ברשימת התארים הגלובליים.
-
דוגמא - תמונה
<!-- Image with a caption --> <figure> <img src="https://developer.mozilla.org/static/img/favicon144.png" alt="A robotic monster over the letters MDN."> <figcaption>MDN Logo</figcaption> </figure>