<figure> एलिमेंट में कैप्शन जोड़ने के लिए <figcaption> टैग का उपयोग करें। HTML5 में <figure> एलिमेंट के लिए कैप्शन शामिल करने के लिए निम्न कोड चलाएं:
<!DOCTYPE html> <html> <head> <title>HTML figcaption Tag</title> </head> <body> <figure><img src="https://www.tutorialspoint.com/videotutorials/images/tutorial_library_home.jpg"/> <figcaption>Tutorials Point Library of Tutorials</figcaption> </figure> </body> </html>