Use the <figure> tag to create self-contained content. You can try to run the following code to implement <figure> tag in HTML5 −
Example
<!DOCTYPE html> <html> <head> <title>HTML figure Tag</title> </head> <body> <h2>Tutorialspoint Coding Ground</h2> <figure> <img src = "https://www.tutorialspoint.com/videotutorials/images/coding_ground_home.jpg"/> </figure> </body> </html>