เอลิเมนต์ <figcaption> ใช้เพิ่มคำอธิบายสำหรับเอลิเมนต์ <figure> มักใช้เพื่อเพิ่มคำบรรยายรูปภาพ
ตัวอย่างโค้ด:
<figure> <img src="path-to-image.jpg" alt="Description of image" /> <figcaption>Caption for photo</figcaption> </figure>
เอลิเมนต์ <figcaption> ใช้เพิ่มคำอธิบายสำหรับเอลิเมนต์ <figure> มักใช้เพื่อเพิ่มคำบรรยายรูปภาพ
ตัวอย่างโค้ด:
<figure> <img src="path-to-image.jpg" alt="Description of image" /> <figcaption>Caption for photo</figcaption> </figure>